sudo apt-get install libboost-all-dev #to install boost
sudo apt-get install libsfml-dev #to install sfml
FOr boost, use this for windows and this for mac.This is boost's official site.
Use this for SFML
Create an account on github and download this repository.
Create a directory "Object" in the CodeWars-v3 folder.
Run the compile.py file as follows (this only needs to be run once):
python compile.py
Add your Python code team_name.py in any of the player files.
and run them:
python <team_name>.py > team_number.txt
Finally run the following in separate terminals inside the Object directory:
./main 6000
./client <player_number0> 127.0.0.1 6000
./client <player_number1> 127.0.0.1 6000
#for example, ./client 0 127.0.0.1 6000
Runs the file in player0