A 3D chess game built with Panda3D, featuring interactive gameplay with mouse controls, piece movement validation, and visual effects.
- 3D chessboard rendered using Panda3D
- Mouse-based piece selection and movement
- Turn-based gameplay
- Valid move highlighting
- Capture animations
- Castling
- En passant
- Pawn promotion
- Checkmate detection
- Camera rotation between turns
- Python 3.8 or newer
- Panda3D
Install Panda3D using pip:
pip install panda3dPre-built executables are available for download from the Releases page. Choose the appropriate version for your operating system:
- Windows:
win_amd64/Chess.exe - macOS:
macosx_10_13_x86_64/Chess.app - Linux:
manylinux2014_x86_64/Chess
Download the executable and run it directly.
To build the game from source:
-
Clone the repository:
git clone https://github.com/ShivamKR12/Chess.git cd Chess -
Install dependencies:
pip install panda3d -
Run the setup script to build:
python setup.py build -
The built executables will be in the
build/directory.
To run from source:
python main.py
Chess/
├── .github/
│ └── workflows
│ └── build.yml
├── .gitignore
├── main.py
├── panda3d-logo.ico
├── panda3d-logo.png
├── setup.py
├── models/
│ ├── square
│ ├── pawn
│ ├── rook
│ ├── knight
│ ├── bishop
│ ├── queen
│ └── king
├── requirements.txt
└── README.md
This project is based on the Panda3D chessboard sample.
Original code and models were created by:
- Shao Zhang
- Phil Saltzman
- Eddie Canaan
Source: Chess
The original Panda3D sample provided the initial foundation for the chessboard rendering and mouse picking system used in this project.








