-
10523037 Michele Craighero (@Michelec1997)
michele.craighero@mail.polimi.it -
10570682 Giovanni Del Vecchio (@giovannidv8)
giovanni.delvecchio@mail.polimi.it -
10559531 Filippo Colombo (@fcolombo7)
filippo7.colombo@mail.polimi.it
| Functionality | State |
|---|---|
| Basic rules | |
| Complete rules | |
| Socket | |
| RMI | |
| GUI | |
| CLI | |
| Multiple games | |
| Persistence | |
| Domination or Towers modes | |
| Terminator |
Open the terminal and run java -jar AM53-SERVER.jar.
In the same directory of the server jar file must be placed the configuration file config.xml.
Note that if you run the jar server without the configuration file the output will be
ERR: CONFIG.XML - ~~/pathToJar/config.xml (No such file or directory)
The Client jar works with arguments. So if you want to run it, you must write in terminal CLI|GUI hostname rmiPort socketPort.
Remember that: hostname must be the server ip address;
rmiPort and socketPort must be the same used to configure the server;
GUI example:
java -jar AM53-UI.jar GUI 192.168.1.133 12346 12345
CLI example:
java -jar AM53-UI.jar CLI 192.168.1.133 12346 12345
The examples refer to the configuration of the current config.xml
Both the .jar files when started create a log file in the same directory of where the .jar is located.