An open API service indexing awesome lists of open source software.

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.

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

![Game Screenshot](RaylibChess.png)

### 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