This repository contains the digital java implementation of the game Codex Naturalis, published by Cranio Games.
Politecnico di Miliano - Prof. Cugola Section - Group GC38
- Matilde Restelli (@matirestelli) matilde.restelli@mail.polimi.it
- Marco Scianna (@Marcoscianna) marco.scianna@mail.polimi.it
- Niccolò Salvi (@NiccoloSalvi) niccolo1.salvi@mail.polimi.it
- Alessio Villa (@alessiovilla) alessio3.villa@mail.polimi.it
| Functionality | State |
|---|---|
| Chat | 🟢 |
| Multi Game | 🟢 |
| RMI | 🟢 |
| TCP | 🟢 |
| CLI | 🟢 |
| GUI | 🟢 |
In order to run Codex Naturalis, you can either clone this repository
git clone https://github.com/NiccoloSalvi/ing-sw-2024-restelli-salvi-scianna-villa.git
or just download the jar file.
The game has 3 different jars:
- One for those who want to play via socket
- One for those who want to play via RMI
- One for the server
To run the server jar file, use the command
java -jar server-jar-with-dependencies.jar
from the command line in the jar's folder. The socket service is hosted on 12345 port and RMI service on 1099
To run the socket client jar file, use the command
java -jar Socketclient-jar-with-dependencies.jar 192.168.1.18
from the command line in the jar's folder, where 192.168.1.18 is the server IP address.
To run the socket client jar file, use the command
java -jar RMIclient-jar-with-dependencies.jar 192.168.1.18
from the command line in the jar's folder, where 192.168.1.18 is the server IP address.
Both server and client app can run on Unix systems (macOS, only CLI) or Windows system (on Powershell, cmd and WSL).
All rights to Codex Naturalis are owned by Cranio Creations, which provided the graphical resources to be used for educational purposes only.