https://github.com/m2754/raylib-chess
A fully-featured chess game built in C++ using the Raylib graphics library, implementing all standard chess rules.
https://github.com/m2754/raylib-chess
c chess cpp game game-development raylib
Last synced: about 2 months ago
JSON representation
A fully-featured chess game built in C++ using the Raylib graphics library, implementing all standard chess rules.
- Host: GitHub
- URL: https://github.com/m2754/raylib-chess
- Owner: M2754
- Created: 2025-06-28T06:08:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-28T06:18:21.000Z (about 1 year ago)
- Last Synced: 2025-06-28T22:35:18.921Z (about 1 year ago)
- Topics: c, chess, cpp, game, game-development, raylib
- Language: C++
- Homepage:
- Size: 569 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raylib C++ Chess Game
This is a complete chess game built using C++ and the Raylib graphics library. This project implements all standard rules of chess, with a user-friendly interface and multiple time control modes.
## Features
- Full implementation of chess rules:
- Piece movement (including en passant, castling, promotion)
- Check, checkmate, stalemate
- Draw conditions (threefold repetition, 50-move rule, insufficient material)
- Game clock with three selectable modes:
- Bullet (1 minute per player)
- Rapid (10 minutes per player)
- Classical (no time limit)
- Visual indicators for selected piece and valid moves
- Mouse-based UI with real-time game rendering using Raylib
## Screenshot

### Prerequisites
- C++17 or later
- Raylib installed and configured
- A C++ compiler
## Controls
- Choose game mode at the start using keyboard keys: `1`, `2`, or `3`.
- Use mouse to select and move pieces.
- Promotion piece selection appears on-screen.
## Author
Maulik Paliwal