← All projects
Project record1 mention
Originally shared on Hacker News

cb2026

cb2026 (ChessBrain 2026) is a chess engine written from scratch in Rust that speaks UCI and XBoard and runs in GUIs such as En Croissant, Cute Chess and XBoard. It features Lazy SMP search, Syzygy tablebase probing, Polyglot opening books, Chess960 support, and an NNUE evaluation network trained on its own games, and is rated about 3379 on the CCRL Blitz scale. It is designed to be easy to learn from, with techniques that can be toggled via an interactive shell and a free companion book, "Building a Chess Engine in Rust".

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. cb2026

    cb2026 (ChessBrain 2026) is a chess engine written from scratch in Rust that speaks UCI and XBoard and runs in GUIs such as En Croissant, Cute Chess and XBoard. It features Lazy SMP search, Syzygy tablebase probing, Polyglot opening books, Chess960 support, and an NNUE evaluation network trained on its own games, and is rated about 3379 on the CCRL Blitz scale. It is designed to be easy to learn from, with techniques that can be toggled via an interactive shell and a free companion book, "Building a Chess Engine in Rust".

    Posted by @cjus · Original source ↗

    Story title · @cjus · · Source ↗

    Show HN: Cb2026, a Rust chess engine that revisits a 2004 world-record project

    Submitted URL · @cjus · · Source ↗

    https://github.com/cjus/chessengine

    Source text · @cjus · · Source ↗

    Some ideas from that project stayed with me, so I created cb2026 (ChessBrain 2026) to explore them.

    Source text · @cjus · · Source ↗

    cb2026 is a chess engine written from scratch in Rust. It speaks UCI and XBoard, so it runs in En Croissant, Cute Chess, XBoard and similar GUIs.

    Source text · @cjus · · Source ↗

    It has Lazy SMP search, Syzygy tablebase probing, Polyglot opening books, Chess960, and an NNUE evaluation network trained on its own games.

    Source text · @cjus · · Source ↗

    Strength: about 3379 ± 21 on the CCRL Blitz scale, from 5,600 games against seven rated engines.

    Source text · @cjus · · Source ↗

    I wanted it to be easy to learn from as well as strong

    Source text · @cjus · · Source ↗

    An interactive shell lets you play it, watch it think depth by depth, and toggle things like null-move pruning to see what each one does.

    Source text · @cjus · · Source ↗

    A companion book, "Building a Chess Engine in Rust", has a chapter for each stage, from board representation and move generation to NNUE.

    Source text · @cjus · · Source ↗

    It's free online, as a PDF or as an EPUB: https://cjus.github.io/chessengine/