-
10574063 Urbinati Daria (@DariaUr)
daria.urbinati@mail.polimi.it -
10565156 Vecchio Luca (@Vechus)
luca1.vecchio@mail.polimi.it -
10617531 Venier Daniele (@Danis98)
daniele.venier@mail.polimi.it
Functionality | State |
---|---|
Basic rules | |
Complete rules | |
Socket | |
GUI | |
CLI | |
Multiple games | |
Advanced gods | |
Persistence | |
Undo |
The project can be built using the following Maven command
mvn clean package
The resulting jar executable can be found in the target folder as GC18-1.0-SNAPSHOT-jar-with-dependencies.jar
This jar contains both the clients and the server.
Java 14 is required to run.
To start the server, run the jar the following arguments
java -jar [jarname] --server
The client can be run in two modes: CLI and GUI. In both modes, you will be asked for information such as the server ip&port, your username etc.
To run the client in GUI mode, no command line argument is needed.
java -jar [jarname]
Alternatively, it can be run with a double click on the jar.
To run the client in terminal mode, use the following arguments
java -jar [jarname] --cli
Important: if you want to run the game with GUI, with an integrated graphic card or in a VM use the following command
java -jar [jarname] -Dprism.forceGPU=true