davidemerli / santorini

Software Engineering project 2019/2020

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Santorini

Physical Game with blocks and pawns

Description

(from boardgamegeek.com)

Santorini is an accessible strategy game, simple enough for an elementary school classroom while aiming to provide gameplay depth and content for hardcore gamers to explore, The rules are simple. Each turn consists of 2 steps:

1. Move - move one of your builders into a neighboring space. You may move your Builder Pawn on the same level, step-up one level, or step down any number of levels.

2. Build - Then construct a building level adjacent to the builder you moved. When building on top of the third level, place a dome instead, removing that space from play.

Winning the game - If either of your builders reaches the third level, you win.

Variable player powers - Santorini features variable player powers layered over an otherwise abstract game, with 40 thematic god and hero powers that fundamentally change the way the game is played.

santorini1.mp4

Dependencies

The project has been developed under Java 13 and JavaFX 11. Any Java version > 13 should be able to run the game (tested up to Java 15).

How to run

An already compiled jar is available at /deliveries/final/jar

The jar is unique and can start the CLI, the GUI and the SERVER with the correct arguments.

The default run configuration for the jar is set on the GUI.

Double clicking the jar from a Window Manager will launch directly the GUI.

Executing the jar on the command line from bash or cmd with --help parameter displays the following:

Usage: java -jar santorini.jar [OPTION]...
Launching without options will load the Graphical User Interface (GUI)

-S, --server        starts a server on localhost, if no port is specified it will be 34567
-P, --port          specifies the server port (checked only if --server option is called)
-C, --cli           starts a new client with Command Line Interface (CLI)

How to run under linux

Linux support for JavaFX 3D is still in beta, to run the game with a GUI under linux you need to execute the jar with the following parameters:

java -Dprism.forceGPU=true -jar santorini.jar

About

Software Engineering project 2019/2020


Languages

Language:HTML 89.3%Language:Java 10.4%Language:CSS 0.3%Language:Shell 0.0%