Skip to content

This was the project assignment for the Software Engineering course.

Notifications You must be signed in to change notification settings

DavideTenediniPoliMi/INGSW_Project_21_22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Engineering Project 2021/2022 (Eriantys)

PoliMi (ING SW 085923 Prof. G. Cugola)

The project received the maximum score (30L).

Requirements implemented

  • Complete Rules
  • CLI
  • GUI (implemented in JavaFX)
  • Socket
  • 3 FA:
    • 4 players game
    • Persistence
    • Resilience to disconnections

Test Coverage

  • Model:
    • Class: 100%
    • Method: 94%
    • Line: 90%
  • Controller:
    • Class: 100%
    • Method: 96%
    • Line: 96%

How to run the game

  • Server
    1. Open the terminal and move to the folder containing EriantysServer.jar
    2. Write command java -jar EriantysServer.jar and press Enter
    3. Server is running!
    Note: Default port is: 12345. If you want to user another port you can execute the command java -jar EriantysServer.jar -p <portNumber>.
    The range for the port is between 0 and 65535.
  • Client
    1. Open the terminal and move to the folder containing EriantysClient.jar
    2. If you want to play with the GUI version write command java -jar EriantysClient.jar, otherwise if you want to play with the CLI version write command java -jar EriantysClient.jar -cli
    3. Play!
    Note: If you are using a M1 Mac and you want to use the GUI version you have to download EriantysClientM1.jar and do the same procedure as written above.