This is the repository of main project for "Progetto di Ingegneria del Software 2022".
Game available on the creator's website, Game rules
Tests line coverage: client 4%, controller 17%, message 54%, model 82%, network 0%
Group components:
- 10697104 Baggetto Matteo (@Matteo-Baggetto) ✉ Contact me
- 10675392 Brambilla Matteo (@bramba2000) ✉ Contact me
- 10723902 Cerutti Paolo (@PolCeru) ✉ Contact me
-
In order to launch the server you have to go with terminal in its jar folder and write:
java -jar nameJar.jar --port port--portis an optional field.
-
In order to launch the client you have two options:
- Repeat the same procedure and write
java -jar jarName.jar --graphics gui --address address --port port - Double-click on the file for playing with graphics.
--addressand--portare optional fields.- You can write
cliinstead ofgui.
- Repeat the same procedure and write
| Functionality | State |
|---|---|
| Basic rules | 🟢 |
| Complete rules | 🟢 |
| Socket | 🟢 |
| GUI | 🟢 |
| CLI | 🟢 |
| Advanced characters | 🟢 |
| Resilience to disconnections | 🟢 |
| Multiple games | 🟢 |
| Libraries/Plugin | Description |
|---|---|
| Maven | Compilation automation tool used primarily for Java projects. |
| JavaFx | Graphic library for making user interfaces. |
| JUnit | Unit Testing Framework. |
| Mockito | Mocking framework for unit tests. |
| Log4j2 | Logging framework. |
| Jansi | ANSI CLI utility library for console output. |
Here are some highlights from the application:
Documentation and UML diagrams
- Full JavaDocs can be found in
deliverables/JavaDocs/(openindex.htmlfor the main page). - UML diagrams and sources are available in
deliverables/UMLs/.




