Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/richibrics/ingsw2022-am10
https://github.com/richibrics/ingsw2022-am10
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/richibrics/ingsw2022-am10
- Owner: richibrics
- Created: 2022-03-01T10:26:50.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-29T19:53:01.000Z (over 2 years ago)
- Last Synced: 2024-11-07T18:52:21.880Z (about 2 months ago)
- Language: Java
- Size: 117 MB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eriantys
Group ID: AM10
### Group components
Riccardo Briccola - email: [email protected]
Leonardo Giovanni Cavallini - email: [email protected]
Marco Calzavara - email: [email protected]
Build status: [![Build](https://github.com/riccardo-briccola/ingsw2022-AM10/actions/workflows/report.yml/badge.svg?branch=main)](https://github.com/riccardo-briccola/ingsw2022-AM10/actions/workflows/report.yml)
### Project status
Functionality | State
-- | --
Basic rules | 🟢
Complete rules | 🟢
CLI | 🟢
GUI | 🟢
Socket | 🟢
12 character cards | 🟢
4 players match | 🟢
Multiple matches | 🟢## Peer Review 1
Content: UML Class Diagram
Group reviewed: AM40
Reviewed by: AM37
## Peer Review 2
Content: Communication Protocol
Group reviewed: AM40
Reviewed by: AM37
# Test coverage
All tests in model and controller has a classes' coverage at 100%.
**Coverage criteria: code lines.**
| Package | Coverage |
|:-----------------------|:------------------------------------:|
| Model | 96% (1477/1528)
| Model.game_components | 100% (218/218)
| Model.actions | 97% (769/789)
| Model.managers | 94% (323/341)
| Controller | 91% (398/437)
| Controller.gson_serializers | 92% (120/130)
| Controller.observers | 100% (26/26)# JAR execution
We deployed Server and Client in a single JAR file.
## Server
Start the server using the default port (12987):
```
java -jar AM10-1.0-SNAPSHOT.jar
```Start the server using a custom port:
```
java -jar AM10-1.0-SNAPSHOT.jar PORT
```## Client
### GUI
```
java -jar AM10-1.0-SNAPSHOT.jar SERVER_ADDRESS SERVER_PORT
```### CLI
```
java -jar AM10-1.0-SNAPSHOT.jar SERVER_ADDRESS SERVER_PORT -c
```or
```
java -jar AM10-1.0-SNAPSHOT.jar SERVER_ADDRESS SERVER_PORT --cli
```