/ing-sw-2020-attorre-burduja-cortelazzo

Software engineering project AA2019-2020 Politecnico di Milano

Primary LanguageJava

Java CI codecov

ing-sw-2020-attorre-burduja-cortelazzo

Software engineering project AA2019-2020 Politecnico di Milano

Final grade: 30 cum Laude / 30

Group AM44

DISCLAIMER: this is a university project, we do not own any right on Santorini game and all the visual assets. Game and assets are owned by Roxley Games. For any copyright issues send me a message and I'll remove this repo as soon as possible.

Functionality State
Basic rules GREEN
Complete rules GREEN
Socket GREEN
GUI GREEN
CLI GREEN
Multiple games GREEN
Persistence RED
Advanced Gods RED
Undo GREEN

Getting started

To build and run this project you need to install Java 13 or later.

After cloning this repo you can:

  • Build and run tests with mvn package
  • Build docs with mvn javadoc:javadoc

Notice: Codecov badge shows only Controller and Model coverage. Network and view tests are not required by specification thus the packages are skipped.

Starting the server

First you need to create a server instance to host the matches with:

java -jar AM44.jar -s

This will run a server on the default port. You can also use a custom port by running:

java -jar AM44.jar -s <port>

Starting the client

Both GUI and CLI are supported and can be used to play the game.

If you want to run a new GUI client you can run:

java -jar AM44.jar

If you have set the Java path correctly you should be able to also use a double click to open a GUI client.

If you want to create a CLI client you can run:

java -jar AM44.jar -cli