Skip to content
juvrajsbPublic

About

Distributed Java 21 client-server implementation of the Codex Naturalis board game. Built with MVC architecture, custom TCP socket networking, dual JavaFX GUI / Lanterna TUI, and state persistence (Grade: 30L).

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

539 Commits

Folders and files

Repository files navigation

IS24-LB01

Codex Naturalis

Final grade: 30L

Implemented features

Feature Status
UML (high level) ✅
UML (low level) ✅
Model (complete rules) ✅
Networking ✅
Controller ✅
TUI ✅
GUI ✅
Persistence ✅
Multiple games ⛔
Connection resilience ⛔
Chat ⛔

✅ Implemented | ⛔ Won't implement | ⚙️ Testing | 🛠️ Development | 🕒 Planned

Tools

Tool Description
IntelliJ IDEA Ultimate IDE
DRAW UML
Maven Dependency Management
JUnit Unit Testing
JavaFX Graphical Library
Lanterna Terminal Library

Team

Member Email
Amighini Simone simone.amighini@mail.polimi.it
Banwait Juvraj Singh juvrajsingh.banwait@mail.polimi.it
Ghisolfi Davide davide1.ghisolfi@mail.polimi.it
Trasolini Nicoletta nicoletta.trasolini@mail.polimi.it

Grades

Features Grade Status
Simplified Rules + networking + CLI 18 ⛔
Complete Rules + networking + CLI 22 ✅
Complete Rules + networking + GUI 24 ✅
Complete Rules + networking + GUI + 1 FA 27 ✅
Complete Rules + networking + CLI + GUI + 1 FA 30/30L ✅

Running instructions

Precompiled JARs are provided inside the deliveries folder: it is mandatory to have JDK 21 installed on the device while all the dependencies are stored in the artifact.

To run the server execute the following command (<port_number> is not mandatory and is set 12000 by default):

java -jar LB01-1.0-SNAPSHOT-server.jar <port_number>

Client JAR is platform-specific due to JavaFX dependencies, so you have to choose the right JAR for your os:

  • Windows (x86_64): LB01-1.0-SNAPSHOT-client-windows.jar
  • Linux (x86_64): LB01-1.0-SNAPSHOT-client-linux.jar
  • MacOS (Apple Silicon): LB01-1.0-SNAPSHOT-client-macos_apple_silicon.jar

Using LB01-1.0-SNAPSHOT-client-macos_apple_silicon.jar as example, here are the parameters that can be set from terminal:

java -jar LB01-1.0-SNAPSHOT-client-macos_apple_silicon.jar <server_ip_address> <server_port> <TUI/GUI>

By default, parameters are set to localhost, 12000, GUI: it is necessary to follow the order when indicating parameters.

It is possible to package the project using Maven toolchain from the command line or using IntelliJ: mavem-assembly-plugin automatically inserts the right dependencies for your os.

License

This project has been created exclusively for educational and non-commercial purposes. Codex Naturalis is a copyrighted product, and all rights related to the name, content, and images of Codex Naturalis are owned by the rightful owners. The use of Codex Naturalis in this project is intended solely for educational purposes and does not imply any affiliation or endorsement by the copyright holders.

About

Distributed Java 21 client-server implementation of the Codex Naturalis board game. Built with MVC architecture, custom TCP socket networking, dual JavaFX GUI / Lanterna TUI, and state persistence (Grade: 30L).

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages