Skip to content

jberclaz/jass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jass

Java CI with Maven Release

Distributed Jass game for the members of the FLAT(r)

How to compile?

mvn package

How to run?

  • 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

Computer player

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.

How to run on Windows

The game uses Java 11. Unfortunately, Oracle abandoned the JRE starting from version 11. You will need to install the full JDK.

Jass client screenshot