This is a Python-based chess game designed for player vs. player matches.
Execute 'main.py' to start playing the game.
The code is primarily written using Pygame, without relying on any external chess modules.
-
Multiple Themes: Press the 't' key to switch themes.
-
Valid Move Highlighting
-
Last Move Indicator
-
Pawn Promotion
-
Castling
-
En Passant
-
Game Restart: Press the 'r' key to restart game.
The valid moves are highlighted by **red-colored squares** on the board.
The last moves are highlighted by **yellow-shaded squares** on the board.
The White King has completed castling.
The Pawn on b8 is promoted to Queen.
The Pawn on d5 is eligible to perform an En Passant move.
This code was not originally developed by me. I learned it from a tutorial by the channel Coding Spot on Youtube and hold no copyright over this code or its related files.
PS - I did not just copy and paste the code. Instead, I understood it and then rewrote the entire code from scratch.
PS - I did not just copy and paste the code. Instead, I understood it and then rewrote the entire code from scratch.