TommasoD / progetto-sagrada

Ingegneria Software 2018
0 stars 0 forks source link

progetto-sagrada

Java implementation of "Sagrada", a board game for 2-4 players by Cranio Creations.

http://www.craniocreations.it/prodotto/sagrada/

Team

ID NAME
10525797 Dal Cortivo Davide
10495562 Disarò Edoardo
10529287 Dolci Tommaso

Getting started

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

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.

Configuration files

It is possible to set some parameters from the external XML file setup.xml :

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.

CLI

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: