This project is the JAVA implemantation of the board game: Masters of Renaissance.
These are the diagrams of the classes, the first one is the UML created at the beginning of the project, the last one is the final UML created at the end of the project.
Numerous tests have been performed using JUnit, you can consult the coverage report at the following link: Report
Libreria/Plugin |
---|
Maven |
JUnit |
Functionality | Status |
---|---|
Basic rules | |
Complete rules | |
Socket | |
GUI | |
CLI | |
Multiple games | |
Persistence | |
Parameter editor | |
Local game | |
Resilience to disconnections |
StarUML - UML diagrams and sequence diagrams
Intellij IDEA Ultimate - main IDE
The Jar of this project can be found here: JAR
The following instructions describe how to successfully start the application in GUI and CLI.
Due to the limitations of the Windows command line, it is necessary to use WSL in order to play with CLI or to run the server with this operating system, instead the CLI works perfectly with Linux and macOS operating systems.
The JAR can receives three paramters: what you want to exectue, server address and port you want to connect to.
If you don't specify any of this parameters, the application will ask you a value for them.
To set the value of a parameter you need to type the name of the parameter followed by ":" and then by the value of the parameter.
Admitted value for core are: server, cli or gui.
Below you can see how to run Server, CLI and GUI, connecting to localhost:4444.
To run the server of the game you can digit in the command line:
java -jar masters.java core:server address:localhost port:4444
To play properly with the CLI it is recommended to use the full screen window.
To run the cli of the game you can digit in the command line:
java -jar masters.java core:cli address:localhost port:4444
To play properly with the GUI it is advisable to use the windows zoom at 100%.
To run the gui of the game you can digit in the command line:
java -jar masters.java core:gui address:localhost port:4444