This is a chess game implemented using the Pygame library. Players can engage in a classic game of chess, moving pieces according to standard chess rules.
To set up the project locally, ensure you have Python and Pygame installed. Clone the repository and run the game using the following commands:
git clone <repository-url>
cd <repository-directory>
You can change the server port in constants.py and run server.py Two players start window.py and start the game Or download the executable file from repository and run it
Players can select pieces by clicking on them and then click on valid move locations to move them.
- The game initializes with pieces in their standard starting positions.
- Players take turns to move their pieces.
- The game checks for valid moves and updates the game state accordingly.
- Check and checkmate conditions are detected.
The game uses images for the chessboard and pieces, which are loaded and scaled for display. Ensure that the assets are in the correct directory structure.