Software for the Tablut Students Competition at University of Bologna.
The Server
side is written in Java 8
, so you'll need JDK 8
to use it.
The Client
side is written in Python 3
, so you'll need to install it properly on your system.
To install the client/server softwares and their dependencies follow the guidelines specified in the sub-directories Client
and Server
.
If you have ANT
installed on your system, just run:
cd
insideServer/Tablut/
ant clean
ant compile
ant server
Run the following commands:
cd
intoClient/
- Run
./CalbiFalai.sh
, also giving the mandatory parameters
Board state
{
"board": [
["EMPTY", "EMPTY", "EMPTY", "BLACK", "BLACK", "BLACK", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "BLACK", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["BLACK", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "BLACK"],
["BLACK", "BLACK", "WHITE", "WHITE", "KING", "WHITE", "WHITE", "BLACK", "BLACK"],
["BLACK", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "BLACK"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "WHITE", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "EMPTY", "BLACK", "EMPTY", "EMPTY", "EMPTY", "EMPTY"],
["EMPTY", "EMPTY", "EMPTY", "BLACK", "BLACK", "BLACK", "EMPTY", "EMPTY", "EMPTY"]
],
"turn": "WHITE"
}