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: Zugzwang | news.ycombinator.com | 2026-05-02
  2. SaaSHub

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

    SaaSHub logo
  3. lc0

    Open source neural network chess engine with GPU acceleration and broad hardware support.

    Project mention: Chess Engines Do Weird Stuff | news.ycombinator.com | 2026-02-17
  4. Fairy-Stockfish

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

  5. cutechess

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

  6. stockfish.wasm

    WebAssembly port of the strong chess engine Stockfish

  7. chessx

    Sources of the official ChessX version.

  8. chess-library

    C++ chess library

  9. Gigantua

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

  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. OmegaZero

    A chess AI.

  22. Chess

    3D chess (by elmarsan)

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

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

  24. chessdom

    web based chess applicatoin

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

Log in or Post with

C++ Chess related posts

  • Zugzwang

    1 project | news.ycombinator.com | 2 May 2026
  • Stockfish removes classical evaluation functions in favor of NNUE only (2023)

    1 project | news.ycombinator.com | 9 Apr 2026
  • What Is a Centipawn Advantage?

    2 projects | news.ycombinator.com | 23 Feb 2026
  • 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
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Stockfish 15,753
2 lc0 3,112
3 Fairy-Stockfish 848
4 cutechess 771
5 stockfish.wasm 335
6 chessx 191
7 chess-library 175
8 Gigantua 141
9 Winter 95
10 4ku 65
11 Realtime-OpenCV-Chess 57
12 Stockfish 53
13 ocgdb 43
14 Trollfish 35
15 MicroChess 30
16 libchess 21
17 libchess 16
18 codfish 16
19 pawn 13
20 OmegaZero 9
21 Chess 8
22 chess-deep-rl-cpp 7
23 chessdom 6

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

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