Ashton Tablut player for UNIBO IA Challenge.
Make sure to run JDK 8 and ANT. If not install them into your OS.
Now, clone the project repository:
git clone https://github.com/imRaazy/YinIAngWarriorsTablut/
The easiest way is to utilize the ANT configuration script from console.
Go into the project folder (the folder with the build.xml
file):
cd YinIAngWarriorsTablut/Tablut
Compile the project:
ant clean
ant compile
The compiled project is in the build
folder.
Run the server with:
ant server
Check the behaviour using the random players in two different console windows:
ant randomwhite
ant randomblack
At this point, a window with the game state should appear.
To be able to run other classes, change the build.xml
file and re-compile everything.
To run the players you can choose two ways:
- Run the YinIAngWarriors.jar from vmUtils folder with the following command:
java -jar YinIAngWarriors.jar -p $playerRole -h $ipAddress -t $timeout
- Import the entire project (Tablut folder) in IntelliJIdea, create a run configuration and run TablutPlayerLauncher.kt
Milo Marchetti - @imRaazy
Nicolò Bartelucci - @nicobargit
Nicolò Saccone - @nicosac97