fabio-ciani / ingsw2022-AM21

An implementation of the tabletop game Eriantys as the Software Engineering final examination project at Polytechnic University of Milan.
https://fabio-ciani.github.io/ingsw2022-AM21/
3 stars 0 forks source link
software-engineering

Eriantys

Build Test CodeAnalysis

An implementation of a tabletop game as the Software Engineering final examination project at Polytechnic University of Milan.

Development Team

Implemented features

Functionality State
Simplified Mode :green_circle:
Expert Mode :green_circle:
CLI :green_circle:
GUI :green_circle:
Character Cards :green_circle:
4-Player Mode :red_circle:
Multiple Games :green_circle:
Persistence :red_circle:
Disconnection Handling :green_circle:

Usage

The project is built upon Java SDK 17.

Server

A server can be instantiated with the following command.

java -jar Eriantys-Server.jar [--port PORT]

By default, the port on which the server runs is 9133. The --port optional argument can be replaced with the abbreviation -p.

Client

A client can be instantiated with the following command.

java -jar Eriantys-Client.jar [--address IP] [--port PORT] [--interface TYPE]

By default:

The --address optional argument can be replaced with the abbreviation -addr, while the --interface optional argument with -ui.

Tests coverage

The model and controller packages coverage are reported as follows.

Package Class coverage Method coverage Line coverage
model 100% (46/46) 88% (212/239) 86% (820/945)
controller 100% (9/9) 97% (91/93) 81% (312/383)

The coverages regarding the subpackages are detailed in the table below.

Main package Subpackage Class coverage Method coverage Line coverage
model characters 100% (16/16) 95% (40/42) 98% (130/132)
model exceptions 100% (7/7) 81% (9/11) 81% (9/11)
model influence 100% (4/4) 100% (8/8) 94% (33/35)
controller phases 100% (7/7) 97% (38/39) 74% (141/189)