Require Python >= 3.6. Ensure that both the server and client computers have the required packages
pip3 install -r requirements.txtRun the server script.
python3 src/server.py <host> <port>where <host> is IPv4 address of the server, <port> is port reserved for server.
Available server commands:
horhelp: List of server commandspause: Pause the gameunpause: Unpause the gamerestart: Reset and pause the gameexit: Close the game on server and clients
DANGER: Do not interrupt the game from the terminal.
Use the host IPv4 address and port specified by the server to start the client.
python3 src/client.py <host> <port> <TEAM>where <host> is IPv4 address of the server, <port> is port used by the server, and <TEAM> is LEFT or RIGHT.
Available client commands:
horhelp: List of server commandsexit: Close the gameleft: Change to left teamright: Change to right team
DANGER: Do not interrupt the game from the terminal.
Use the host IPv4 address and port specified by the server to start the AI client.
python3 src/ai_client.py <host> <port> <TEAM>where <host> is IPv4 address of the server, <port> is port used by the server, and <TEAM> is LEFT or RIGHT.
Available client commands:
horhelp: List of server commandsexit: Close the gameleft: Change to left teamright: Change to right team
DANGER: Do not interrupt the game from the terminal.