LaraNonino / ing-sw-2022-Franze-Moretti-Nonino

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Software Engineering Project 2022

This project was made between March and June 2022, at Polytechnic University of Milan.

The project consits in the implementation of Eriantys board game through a distributed system: the server and multiple clients that can connect to it via the network. Clients allow you to interact with the game via command line (CLI) or graphical interface (GUI).

This project is written in Java/JavaFx and is built using Maven. All UML diagarms, protocols and documentations are in the deliveries folder.

Students:

Implemented features

  • Complete ruleset (Complex game mode)
  • CLI
  • GUI
  • Character cards: implemeted all the 12 cards.
  • Multiple matches: the server can handle several matches at the same time.
  • persistence: the state of game is saved on hard disk in order to allow the players to reconnect and continue the game if the server should go down. Recconnection and savings are based on nicknames used.

Jar execution

Server

To start the Server run:

java -jar server.jar [port-number]

If port isn't specified, the default port is 35002.
note: At firt lauch, savings folder is created. If you want to restart a match using same nicknames used previously delete the folder.

Client

  • Two clients available: Mac and Windows based on your OS (The difference is only in a configuration file to run javaFx).
java -jar client-(OS).jar [cli/gui  server-ip-address  server-port-number]

If arguments aren't specified, default is: gui localhost 35002 otherwise you have to specify all the parameters.

About


Languages

Language:Java 100.0%