Java implementation of "Sagrada", a board game for 2-4 players by Cranio Creations.
http://www.craniocreations.it/prodotto/sagrada/
ID | NAME |
---|---|
10525797 | Dal Cortivo Davide |
10495562 | Disarò Edoardo |
10529287 | Dolci Tommaso |
Download the zip files from the Deliverables
folder or clone the repository:
git clone https://github.com/TommasoD/progetto-sagrada.git
Unzip files LM_50_server.zip
and LM_50_client.zip
Run the server from command line:
java -jar LM50Server.jar
Run clients from command line:
java -jar LM50Client.jar
Windows users are recommended to install Bash on Ubuntu on Windows (BUW) and select a font that allows to print special Unicode Characters.
It is possible to set some parameters from the external XML file setup.xml
:
ip
: port number;address
: IP address of the server;connection
: countdown during the connection phase at the start of the game (in milliseconds);move
: time given to each player to complete his turn (in milliseconds).A single setup.xml
is sufficient to play, as both the server and the client reads from the same file. Two are needed in case the server and the client are located in different folders, of course.
You can play directly from the command line.
First off, you will need to insert the correct IP address; in case of error the application will be closed.
Once the game is started, you need to provide a username (login
command) and choose a personal window pattern (window
command). Those who will not select a username and/or a window pattern will play with a default/random one.
In-game commands:
place
to place a die inside the window pattern;tool card
to use a tool card;show table
to check your private objective, public objectives and tool cards status;end
to end your turn;reconnect
to rejoin the game when suspended;help
to show command list.