- Download the Repository to your local machine
- Setup the server by running setup.sh folder with this command below
bash setup.sh
- Source the created venv by running
source venv/bin/activate
. Note this must be done everytime a new terminal is opened
- Run the server by running this command (Run the command where run.sh is
located)
python main.py 0.0.0.0 8000
- We have provided client.py which can be used for testing. client.py is a random bot.
- Testing credentials are
- Room id:
gameRoom
- For Player 1:
player_id
:player1
andpassword
:player1
- For Player 2:
player_id
:player2
andpassword
:player2
- Room id:
- Start the Environment by mentioned the command mentioned above
- Run the client.py by running this command
python client.py 1
for running it as Player 1 and
python client.py 2
for running it as Player 2 - You can see the output in the terminal
- After the game is over, you need to restart the environment to start a new again. Use Ctrl+C to stop the environment program.