Distributed Jass game for the members of the FLAT(r)
mvn package
- Compile the code as described above. You'll obtain a
.jar
file in./target/
. - Launch the client with
java -jar target/jass-2.1.3-SNAPSHOT.jar
- Launch the server with
java -cp target/jass-2.1.3-SNAPSHOT.jar com.leflat.jass.server.JassServer
The latest version has now a computer player, which can help if you cannot find four participants. The strategy is clearly not state-of-the-art, but it is loosely based on Monte-Carlo sampling and does not play too badly.
You can connect a computer player with
java -cp target/jass-2.1.3.jar com.leflat.jass.client.ArtificialClient <server_host> <game_id> [<name>]
Note that the computer player name is optional.
The game uses Java 11. Unfortunately, Oracle abandoned the JRE starting from version 11. You will need to install the full JDK.