Skip to content

Server-Client implementation of the board game "Santorini" by Cranio Creations

Notifications You must be signed in to change notification settings

marcoDige/Santorini

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Santorini Board Game

Santorini is a highly accessible pure-strategy game where you play as a youthful Greek God or Goddess competing to best aid the island's citizens in building a beautiful village in the middle of the Aegean sea.

Authors

Personal Data Username Email
Di Gennaro Marco @marcoDige marco1.digennaro@mail.polimi.it
De Bartolomeis Piersilvio @pierobartolo piersilvio.debartolomeis@mail.polimi.it
Di Maio Alessandro @aledimaio alessandro1.dimaio@mail.polimi.it

Implemented functionality

Functionality
Basic rules
Complete rules
Socket
GUI
CLI
Multiple games
Advanced Gods

Instructions for build and execution:

The jar is the same for both server and client. You can build it under your preferred OS and launch it following the instructions below. The project has been developed using JAVA 13 and JavaFX 14. The following terminals have been tested for the CLI: WSL (Ubuntu 18.04 and Debian), Windows Terminal and iTerm.

Build instructions:

The jar is built using "Maven Shade Plugin": inside the IntelliJ IDE, clone the repository and launch "install" under "lifecycle" section in the Maven toolbar. The generated jar will be placed in the "shade" folder of your project.

If you want to use Maven in the terminal, you can execute:

mvn install

In the project's root folder (same folder of "pom.xml"). The generated jar will be placed in the "shade" folder of your project.

Execution instructions:

Server

In terminal execute:

java -jar AM10.jar -server

The server will be listening on the default port 1234.

If you would like to change the port:

java -jar AM10.jar -server PORT

Where you can replace PORT with your preferred port number. Example: java -jar AM10.jar -server 8080

Client

To launch the game on the command line interface (CLI) make sure your terminal is in fullscreen mode, then execute:

java -jar AM10.jar -client -cli

To launch the program with the graphical user interface (GUI), double-click on the jar (on Ubuntu 20.04 first make sure to mark as executable the jar file). You can also execute in the terminal:

java -jar AM10.jar -client -gui

or simply:

java -jar AM10.jar

Note

  • The pdf file "Unit test coverage" in "Deliverables" only serves to provide an overview and a small comment of the data on the test coverage.
  • In "JARs" folder under "Deliverable" folder you can find the jars generated on different operating system.

About

Server-Client implementation of the board game "Santorini" by Cranio Creations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 78.1%
  • Java 20.4%
  • Other 1.5%