Progetto di ingegneria del software, a.a. 2018
NETWORK + CLI: Lorenzo Prosseda @procsiab
GUI: Mattia Surricchio @mattiasu96
SERVER + TESTS: Alberto Tiraboschi @bertox94
We proudly present a full working software version of the well-known table-game: SAGRADA (https://boardgamegeek.com/boardgame/199561/sagrada).
What do I need to know? -The packages are split in three: Server, Client, Shared. You will need to have either Server or Client and Shared on each host. If you want to play over LAN then you first need to run the sagrada_server.jar
, e.g.
java -jar sagrada_server.jar
This way, the server will be started on the local machine, printing its LAN IP address. To connect with the client, you just need to run the sagrada_client.jar
file, specifying the server's IP address, e.g.
java -jar sagrada_client.jar "server_ip"
Note that by omitting this argument for the client, it will run assuming that the server is on localhost. To play over WAN, is it necessary to specify the DNS or WAN IP address as command line argument for the sagrada_server.jar
file, e.g
java -jar sagrada_server.jar "my.server.com"
the same should be done with the client's JAR. Note that it is only possible to play over WAN by using the socket connection method, and by setting up port forwarding and firewall whitelisting on the server machine's network.
Basic
- CLI
- RMI
- Socket
- GUI
- Advanced rules
Advanced
- Multiple matches
- Persistance
- Dynamic cards
- Single player
7/2018
Polytechnic of Milan, Italy