Skip to content

Java Implementation of the board game Eriantys, by Cranio Creations

Notifications You must be signed in to change notification settings

LucaRomano2/Eryantis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eriantys

The goal of the project is to program a Java version of the board game Eriantys, by Cranio Creations.

The project includes:

  • Initial UML diagram
  • Final UML diagram, generated from the code by automated tools
  • Working game implementation
  • Source code of the implementation
  • Source code of unit tests

Partecipants

Implemented functionalities

Functionality State
Basic rules 🟢
Complete rules 🟢
Socket 🟢
CLI 🟢
GUI 🟢
All Characters 🟢
Multiple games 🟢
Persistence 🟢

Legend

🟢 Implemented
🟡 In progress
🔴 Not implemented

Testing

Extensive testing was performed on all parts of the software, both by writing unit tests and with manual QA.

Coverage criteria: code lines

Package Tested Class / Subpackage Coverage
Controller Game 231/242 (95%)
Model Global Package 363/398 (91%)
Model Board 130/144 (90%)
Model Characters 209/223 (93%)

Compile

To run the tests and compile the software:

  1. Install Java SE 17
  2. Install Maven
  3. Clone this repo
  4. In the cloned repo folder, run:
mvn clean package
  1. The compiled artifact (Eriantys.jar) will be inside the target folder.

Quick start guide

There is a unique jar file for both the client and the server. Therefore, you have to select which one you want to launch in the arguments.

In order to play, you'll have to launch at least one server and two clients (either CLI or GUI).

In order to play multiplayer from different locations, port forwarding is needed.

To run the client:

It is possible to set the IP and the port you want to connect to by using the optional argument port and IP.

For the CLI:

Requirement: a terminal window of at least 150 columns by 55 rows.

In the terminal, run:

java -jar Eriantys.jar cli [port <port number>] [ip <ip address>]

For the GUI:

In the terminal, run:

java -jar Eriantys.jar gui [port <port number>] [ip <ip address>]

To run the sever:

It is possible to set the port you want to use. In the terminal, run:

java -jar Eriantys.jar server [port <port number>]

Software used

  • AstahUML: UML Diagrams
  • IntelliJ IDEA Ultimate: Main IDE
  • SonarQube: Code analysis

About

Java Implementation of the board game Eriantys, by Cranio Creations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published