Repository for Software Engineering exam final test.
The java project aims to provide a Java implementation of the tabletop game Eriantys, by Cranio Creations.
Server application must be run through command line with the command java -jar Eriantys-Server-[version].jar (-[argument]=[value])*
.
The program always runs on localhost
(127.0.0.1
); port forwarding, paired with a static ip, can be used to make the server accessible from the internet.
Available optional arguments (to be used for defaults overriding):
Argument | Type | Default | Description |
---|---|---|---|
port | integer | 50666 | server socket listening port |
maxconn | integer | 4 | maximum simultaneous connections |
polling | integer | 200 | polling interval for input directive execution (in ms) |
reslocations | string | bundled file location | location of file with paths to server configurations |
Server resource locations specifies where JSON files for various configurations should be.
The structure to be followed for them is visible inside the resources' directory model and server configuration json files.
Changing the locations and contents of those files is possible, and can be used for testing purposes and/or to bring various modifications to the core mechanics or data of the game.
It is strongly advised to check the usage of json files in the project sources, to make sure that you're following the constraints enforced by game rules and corresponding code implementation.
Client application must be run through command line with the command java -jar Eriantys-Client-[version].jar
.
The program asks for server address and port (default localhost:50666
), then allows to choose a preferred user interface (cli/gui
).