A very basic interactive chess game built using Python and Tkinter.
- Fully interactive 8×8 chessboard
- Click a piece to select it, then click a square to move
- Standard chess pieces with basic moves
- Turn-based: White and Black alternate
- Capturing a king ends the game
- Simple pawn promotion to queen
- Beginner-friendly code
Note: No castling, en passant, or check/checkmate detection for simplicity
If you want to run the game from Python source:
- Make sure you have Python 3.x installed
- Open your terminal and navigate to the project folder
- Run:
python main.pyYou can run the game directly without Python using the Windows executable:
File: chess.exe (in the main project folder)
Just double-click it to launch the game.
ChessGame/
├─ main.py # Main game script
├─ board.py # Board logic
├─ pieces.py # Piece definitions and movement logic
├─ README.md # This file
├─ chess.exe # Windows executable
├─ chess_ss.png # Screenshot of the game
└─ .gitignore # Ignored files/folders
Feel free to fork the repo and add features like:
Castling
En passant
Check/checkmate detection
Improved GUI styling
This project is free to use for learning and personal purposes.
