Requirements
You need install this libraries to play.
This modules are installed on python3
Install
Install pygame by console.
git clone https://github.com/Xfirepc/SimpleSnakeSockets
cd SimpleSnakeSockets
py -m pip install -r requirements.txt
# Or
python3 -m pip install -r requirements.txt
Play
First, you need run server.
py server.py 127.0.0.1
# Or
python3 server.py localhost
Run game and play
py play.py 127.0.0.1
# Or
python3 play.py localhost
The args passed is the server ip by default use localhost,you can pass other ip as the example py play.py 192.168.0.100