This is a chess game written in Python 3.6.9, using the pygame, sockets and threading libraries. The engine supports 2 players playing at a time, on different machines and networks. Basic client server system is made based on TechwithTim's tutorial, while rest of the code handle UI and actual gameplay.
First, you have to clone/download this repository to get access to both modes of the game
You can simply run the Chess.py code and play it with someone else on the same machine.
You will need to change the server IP address to the one that is hosting the game in these 2 files:
- server.py
- network.py
Then, you can run the server.py on one machine, then start one instance of client.py on each machine to play online chess
- Checkmate does not work
- TechwithTim's Tutorials on Pygame and Online Server
- Mason Wong - We started this project together but did them differently