Java implementation of the table game Santorini by Cranio Creations as part of the Bachelor thesis. The highest possible grade has been assigned to this project.
- 10604455 Luca Danelutti (@LucaDanelutti)
[email protected] - 10574949 Riccardo De Santi (@riccardodesanti)
[email protected] - 10580652 Ian Di Dio Lavore (@ian-ofgod)
[email protected]
Functionality | State |
---|---|
Basic rules | ✔️ |
Complete rules | ✔️ |
Socket | ✔️ |
GUI | ✔️ |
CLI | ✔️ |
Multiple games | ❌ |
Persistence | ❌ |
Advanced Gods | ✔️ |
Undo | ✔️ |
❌ = not implemented
🚧 = work in progress
✔️ = completed
We suppose that you have properly configured in your system:
- JDK (version >= 13.0) - please refer to Oracle JDK - Download and Installation
- Maven - please refer to Maven Installation guide
In the main folder of the project (where you find the POM.xml file), run from the command line:
mvn package -DskipTests
A new folder will appear in the directory of the project called "shade", inside you will find the generated AM01.jar
The .jar can be executed into three different mode by using the proper parameters
- To start a GUI client you should be able to double-click on it, in other cases just type:
java -jar AM01.jar
- To start a CLI client, type:
java -jar AM01.jar -cli [-hostname address] [-port number]
example:
java -jar AM01.jar -hostname 192.168.0.4 -port 12345
If optional parameters are omitted it will prompt to insert them
- To start a server, type:
java -jar AM01.jar -server [-port number]
example:
java -jar AM01.jar -server -port 12345
If port parameter is ommited the server will start listening on default port 12345