C++ Chess

Open-source C++ projects categorized as Chess

Top 23 C++ Chess Projects

  1. Stockfish

    A free and strong UCI chess engine

    Project mention: Building a Chess App: Efficient Real-time Move Validation Using Bitboards in React Native | dev.to | 2025-10-10

    Stockfish Source Code - Study how the world's strongest engine uses bitboards

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. Fairy-Stockfish

    chess variant engine supporting Xiangqi, Shogi, Janggi, Makruk, S-Chess, Crazyhouse, Bughouse, and many more

  4. cutechess

    Cute Chess is a graphical user interface, command-line interface and a library for playing chess.

  5. stockfish.wasm

    WebAssembly port of the strong chess engine Stockfish

  6. chessx

    Sources of the official ChessX version.

  7. chess-library

    C++ chess library

  8. Gigantua

    Gigantua: Single Threaded - 2 Billion Moves/s Chess position enumerator

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. Winter

    UCI Chess Engine (by rosenthj)

  11. 4ku

    A UCI compatible chess engine that fits into 4,096 bytes.

  12. Realtime-OpenCV-Chess

    ♔ Chess-playing with Open-CV [Human vs AI (Stockfish engine)]

  13. Stockfish

    The Stockfish Chess Engine for Flutter. (by ArjanAswal)

  14. ocgdb

    Open Chess Game Database Standard (OCGDB)

  15. Trollfish

    the most powerful chess engine that wants to draw with you

  16. MicroChess

    A full featured chess engine designed to fit in an embedded environment, using less than 2K of RAM!

  17. libchess

    C++ chess library

  18. libchess

    A header-only C++17 chess library (by Mk-Chan)

    Project mention: Use Your Type System | news.ycombinator.com | 2025-07-24

    I’ve been using hacks to do this for a long time. I wish it was simpler in C++. I love C++ typing but hate the syntax and defaults. It’s so complicated to get started with.

    https://github.com/Mk-Chan/libchess/blob/master/internal/Met...

  19. codfish

    UCI Chess Engine

  20. pawn

    An experimental UCI chess engine

  21. horowitz

    UCI-compatible chess engine.

  22. OmegaZero

    A chess AI.

  23. Chess

    3D chess (by elmarsan)

    Project mention: 3D Chess OpenGL PBR | news.ycombinator.com | 2025-12-07
  24. chess-deep-rl-cpp

    C++ version of my chess-deep-rl project. WIP

  25. chessdom

    web based chess applicatoin

    Project mention: Chessdom: Open-source web-based chess application | news.ycombinator.com | 2025-02-26
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

C++ Chess discussion

C++ Chess related posts

  • Building a Chess App: Efficient Real-time Move Validation Using Bitboards in React Native

    1 project | dev.to | 10 Oct 2025
  • A history of AI in four books

    1 project | news.ycombinator.com | 19 Sep 2025
  • "The Bitter Lesson" is wrong. Well sort of

    1 project | news.ycombinator.com | 20 Jul 2025
  • ♟️ Bringing Chess to Life in Your Browser — Powered by Stockfish and Sass

    1 project | dev.to | 10 Jul 2025
  • OpenAI o3-mini Tested in LLM Chess

    2 projects | dev.to | 13 Feb 2025
  • Gukesh Becomes the Youngest Chess World Champion in History

    3 projects | news.ycombinator.com | 12 Dec 2024
  • A fast alternative to the modulo reduction

    2 projects | news.ycombinator.com | 15 Nov 2024
  • A note from our sponsor - Stream
    getstream.io | 22 Dec 2025
    Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure. Learn more →

Index

What are some of the best open-source Chess projects in C++? This list will help you:

# Project Stars
1 Stockfish 14,318
2 Fairy-Stockfish 772
3 cutechess 720
4 stockfish.wasm 324
5 chessx 178
6 chess-library 158
7 Gigantua 140
8 Winter 93
9 4ku 61
10 Realtime-OpenCV-Chess 58
11 Stockfish 48
12 ocgdb 42
13 Trollfish 36
14 MicroChess 24
15 libchess 21
16 libchess 17
17 codfish 15
18 pawn 12
19 horowitz 11
20 OmegaZero 9
21 Chess 7
22 chess-deep-rl-cpp 7
23 chessdom 6

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that C++ is
the 7th most popular programming language
based on number of references?