Before running: pip install websocket pip install websocket-client To run: python ai.py --http_endpoint=$url --player="1" python ai.py --http_endpoint=$url --player="2"