Implementation of the board game, made for software programming course at UNIFI.
To run the game, do as follow:
- Import this Java project on Eclipse
- Enter lib and right click on quoridorgui.jar or quoridor.jar
- Select Build Path -> Add to Build Path
If you want to run a set of matches on the console, do as follow:
- Right click on the Java project
- Select Run As -> Run Configurations...
- In the "Main" tab select the quoridor project and for the "Main class" select gj.quoridor.engine.Quoridor
- In the "Arguments" tab insert <number_of_matches> <first_player_name> <second_player_name> <true/false> (true stands for verbose mode)
- Click Apply or Run in the bottom right corner of the window
If you want to play human vs ai, do as follow:
- Right click on the Java project
- Select Run As -> Run Configurations...
- In the "Main" tab select the quoridor project and for the "Main class" select gj.quoridor.engine.QuoridorGUI
- In the "Arguments" tab insert <ai_player_name>
- Click Apply or Run in the bottom right corner of the window