This code was part of one of the final projects for my Bachelor degree in Computer Engineering, and was done as part of the Software Engineering course in 2019/2020.
Implementation of Santorini© board game in Java language, which idea was conceived by Gordon Hamilton and was later published thanks to Kickstarter by Roxley Games.
Instructions on how to play the board game: https://cdn.1j1ju.com/medias/fc/ec/5d-santorini-rulebook.pdf
We decided to implement the complete rules + CLI + GUI + Socket + 1 AF, so to therorically reach 30 as maximum mark possible. The advanced functionality we chose is the multiple games on one server.
Step 1) Checking if you already have java installed.
To work properly, the .jar needs to be opened in an OS with already a JRE and a JDK installed. Open the terminal with the CTRL+ALT+T combination, write down java -version
and see the result. If the Java version is already 13 or more, you can jump directly to Step 4. Otherwise, go to the next step.
Step 2) Installing Java.
Start by typing sudo apt-get install default-jre
to download the JRE. After that, type sudo apt_get install openjdk-13-jdk
to install Java JDK 13.
Step 3) Confirmation.
Always on the terminal, now type again java -version
. You should see Java 13, that means everything has gone correctly. Otherwise there could be some errors in the previous phases, but the terminal should explain you how to solve them.
Step 4) Downloading the actual game.
Now you have to get the actual file to play with. First, open the deliveries/final/jar
folder in this repo. From there, download either the CLI client or the GUI client, depending on you wanting to play a more vintage gameplay or a more modern, graphical one.
After you have decided, you now have the .jar file in your PC. But how to run it?
Step 5) Open the game.
Open the terminal, reach the folder in your system containing the downloaded .jar file, and write java SantoriniGUI.jar -jar
.
Step 6) Congratulations!
Now you can play your Santorini.jar file without problems.
[1] ATTENTION! On some MacOS devices (13" laptops) there could be some problems with the buttons and texts disposure. Be aware, and use a 15,6" display or an Ubuntu/Debian device!