Skip to content

Our implementation of the Software Engineering Project held at Politecnico of Milan in 2021

Notifications You must be signed in to change notification settings

matteoldani/ing-sw-2021-musumeci-nunziante-oldani

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ing-sw-2021-musumeci-nunziante-oldani

Master of Renaissance

alt text Masters of Renaissance is a game with simple rules offering deep strategic choices of action selection and engine building.

In Masters of Renaissance you are an important citizen of Florence and your goal is to increase your fame and prestige. Take resources from the market and use them to buy new cards. Expand your power both in the city and in the surrounding territories! Every card gives you a production power that transforms the resources so you can store them in our strongbox. Try to use the Leaders' abilities to your advantage and don't forget to show your devotion to the Pope!

Index

  • Group components
  • External Libraries and Tools
  • Features implemented
  • Instructions

Group Components

Cognome Nome e-mail Matricola Codice Persona
Musumeci Margherita margherita.musumeci@mail.polimi.it 907435 10600069
Nunziante Matteo matteo.nunziante@mail.polimi.it 913670 10670132
Oldani Matteo matteo.oldani@mail.polimi.it 910756 10620207

External libraries and tools

  • javafx-fxml version 16
  • javafx-controls version 16
  • junit version 4.11
  • gson version 2.8.5
  • maven shade plugin version 3.2.4
  • fxlm files created with scene builder

Features Implemented

  • Full rules
  • CLI
  • GUI
  • Socket Connection
  • Advanced features:
    • Multi game
    • Resilience to Disconnections
    • Persistence

Instructions

Summary:

  • server.jar has no options and handles the server of this game
  • client.jar has 1 possible option
    • cli if you want to play with the cli interface
    • gui if you want to play with the gui interface

More in details:

Into the deliverables folder of this poject can be found two jars. The one named "server.jar" is responsible to the server of this game and can be executed with:

java -jar server.jar

It has no options and it will require the port after its execution. You are not able to interact with the server.

The second jar, "client.jar", is the executable dedicated to the clients. Here you can choose between a GUI interface or a CLI one. This selection clould be made through arguments.

With the command:

java -jar client.jar gui

you will launch the GUI version of the application.

With the command:

java -jar client.jar cli

you will launch the CLI version of the application.

If no arguments is specified the application will load the GUI version by default.

After the execution the client will ask you for the server ip address and port to connect.

Disconnections

If a disconnection occurs you can rejoin the unless its finished. To do that you have to restart the client jar and reconnect to the same server and insert the same number of player after have chosen your previous nickname.

Persistence

Games that are still active when the server is shut down can be finished when the server is restarted. To do that you have to start the client jar and proceed as if you are going to join a new game. If your username is found in the set of players that have a game suspended, then you will be automatically added to the game.

License

This project is developed in collaboration with Politecnico di Milano and Cranio Creations.

All rights of graphic resources are reserved to Cranio Creation.

About

Our implementation of the Software Engineering Project held at Politecnico of Milan in 2021

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages