The project consists of a Java version of the board game Maestri del Rinascimento by CranioCreations.
This repository includes:
- initial UML diagram;
- final UML diagram, automatically generated;
- the actual Game;
- all required resources to run the game.
Our game both supports local games and online.
- In order to play in local mode you will need to run a client (either CLI or GUI) and once the game asks for playing local or online you will need to go for the first option;
- You can also play online but you will need a running server and at least 1 client.
If you can't run a server on your own you can use ours. You can start playing simply connecting to this ip address
35.212.247.189
and port6754
.
- CLI is best played at full screen on the terminal with a dark background
- In GUI the game is optimized for a 1920 x 1080 screen but can be played with a lower resolution. If your screen has a resolution higher than 1080p the game will probably look small for you so it is advised to adjust the screen resolution
For the unexperienced user it is possible to simply double click the jar file to run the game in GUI client mode.
To run the jar via Terminal you need to go to the project Shade directory where the jar is located.
You can use the command: java -jar <jarname>.jar --help
for more informations
NOTE: by default the program will start in GUI client mode.
To run the jar in server mode you can use the following commands:
java -jar <jarname>.jar -s
or java -jar <jarname>.jar --server
To run the jar in client mode you can use the following commands:
- for GUI ->
java -jar <jarname>.jar -g
orjava -jar <jarname>.jar --gui
- for CLI ->
java -jar <jarname>.jar -c
orjava -jar <jarname>.jar --cli
For the best experience in CLI mode you should use theLinux/Unix bash shell
(you can also play in Windows usingwsl
).
Functionality | Status |
---|---|
Basic rules | |
Complete rules | |
Socket | |
CLI | |
GUI | |
Local Game | |
Multiple Games | |
Disconnection Resilience |
Coverage criteria: code lines.
Package | Coverage |
---|---|
model | 80% |
model: leadercard | 80% |
model: market | 87% |
model: singleplayer | 72% |
model: track | 92% |
controller | 56% |
Running | Javadocs | Communication Protocol |
Message Tables |
---|---|---|---|
|
|
|
|