Masters of Renaissance

Masters of Renaissance is board game designed by Simone Luciani and Nestore Magone and published by Cranio Creations.

This project has been commissioned for the Final Test of Software Engineering course at Politecnico di Milano (a.a. 2020-2021) with the goal of recreating the board game as a Java Application.

Group Members

Implemented Functionalities

Functionality Status
Complete Rules YES
CLI YES
GUI YES
Socket YES
Multiple Games YES
Persistency YES
Parameter Editor NO
Local Game YES
Disconnection Recovery NO

Execution Instructions

  • The project is built into an Uber-JAR comprehensive of CLI, GUI and Server.

  • All of the execution options are available from a small Command Line Interface integrated into the JAR, therefore no additional arguments are needed in order to execute the application.

  • The application can be run utilizing the following command:

      > java -jar MastersOfRenaissance.jar

Requirements and Disclaimers

  • In order to properly run the CLI version of the game a console capable of correctly displaying the UTF-8 encoding and the ANSI color standard is needed.
  • The default port for the Server is 1919.
  • It is possible to play multiple games at once with only one server, however only one game can be created at a given time and each client that establishes a connection to the server while another user is creating a game, will be put in a waiting state until the game is created or aborted.
  • If a user creates a game with multiple players and (while the server is waiting for the required players in order to start) a client inside the lobby disconnects, the game will be aborted but the lobby won't be deleted until the next user connects, causing a premature disconnection for the said user.

Test-Cases Coverage

Package Method Line Branch
Boards 100% (62/62) 97% (190/194) 85% (36/42)
Cards 100% (85/85) 100% (234/234) 86% (20/23)
Faith 100% (23/23) 100% (55/55) 90% (10/11)
Games 100% (50/50) 99% (294/296) 82% (76/92)
Market 100% (16/16) 100% (57/57) 81% (9/11)
Storage 100% (70/70) 100% (321/321) 95% (107/112)

Utilized Software

License

Masters of Renaissance is property of Cranio Creations and all of the copyrighted graphical assets used in this project were supplied by Politecnico di Milano in collaboration with their rights' holders.