ian-ofgod / software-engineering-1-project

Softeng Project 2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Santorini (Software Engineering Project 2020)

Java implementation of the table game Santorini by Cranio Creations as part of the Bachelor thesis. The highest possible grade has been assigned to this project.

Team AM01 - Prof. Margara

Development state

Functionality State
Basic rules ✔️
Complete rules ✔️
Socket ✔️
GUI ✔️
CLI ✔️
Multiple games
Persistence
Advanced Gods ✔️
Undo ✔️

❌ = not implemented
🚧 = work in progress
✔️ = completed

Generate project JAR

We suppose that you have properly configured in your system:

In the main folder of the project (where you find the POM.xml file), run from the command line:

mvn package -DskipTests

A new folder will appear in the directory of the project called "shade", inside you will find the generated AM01.jar

Usage

The .jar can be executed into three different mode by using the proper parameters

Run a Client

  • To start a GUI client you should be able to double-click on it, in other cases just type:
java -jar AM01.jar
  • To start a CLI client, type:
java -jar AM01.jar -cli [-hostname address] [-port number]

example: 
java -jar AM01.jar -hostname 192.168.0.4 -port 12345

If optional parameters are omitted it will prompt to insert them

Run a Server

  • To start a server, type:
java -jar AM01.jar -server [-port number]

example:
java -jar AM01.jar -server -port 12345 

If port parameter is ommited the server will start listening on default port 12345

About

Softeng Project 2020


Languages

Language:Java 99.3%Language:CSS 0.7%