Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

fcolombo7/ing-sw-2019-craighero-colombo-delvecchio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prova Finale Ingegneria del Software 2019

Gruppo AM53

Functionality State
Basic rules RED
Complete rules GREEN
Socket GREEN
RMI GREEN
GUI GREEN
CLI GREEN
Multiple games GREEN
Persistence RED
Domination or Towers modes RED
Terminator RED

HOW TO RUN:

Server

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)

Client

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

Note

Both the .jar files when started create a log file in the same directory of where the .jar is located.

About

Progetto di ingegneria del software 2019

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages