To install dependencies and run the game:
apt-get install python3 python3-pip
python3 -m pip install -U jsonpickle numpy pygame
./chess.py
To package the game into an executable using pyinstaller:
if pyinstaller is not already installed then install it.
pip install pyinstaller
pyinstaller --onefile chess.spec
Multiplayer:
Host a game with:
./chess.py server
Connect to hosting device:
./chess.py client localhost
Or replace localhost
with an IP. Port forward 9992 to host device for public games.