In the top level of this repository, in the file config.json
.
In config.json
, edit the host
and port
key-value pairs.
For example, if you wanted to run the game on 1 computer:
"host": "localhost", "port": "8000"
.
To run the game on multiple machines in the lab, set host
to be
the IP address of the computer you want to run the server on.
In the Constants.hpp
file, modify the NUM_PLAYERS
variable.
Don't forget to build the client and server executables before running them again!
From a terminal in the skrrt/Game/
directory, execute the run4.sh
scripts by doing ./run4.sh
.