Files
Eleanor/README.md
claude aa97abaadc Add Chess960 (FRC) and DFRC support
- castling moves are stored as "king takes own rook" (from = king square, to = castling rook square)
- per-colour castling rook squares (Board::castleRook), so DFRC (different back ranks for white/black) works
- FEN parsing/printing: KQkq (X-FEN) and Shredder-FEN file letters
- Board::CanCastle(): generic castling legality (empty paths, king not attacked, rook x-ray check)
- MakeMove handles arbitrary king/rook start squares (king and rook may stay in place or swap through each other's squares)
- UCI_Chess960 option: castling printed/parsed as king-takes-rook when on, standard e1g1 style otherwise (both are accepted when parsing)
- viri format, perft castle check and castling right updates no longer assume a1/h1/a8/h8
2026-10-11 00:12:02 +02:00

4.1 KiB

Eleanor Chess Engine

Eleanor Chess Engine

GitHub License GitHub commits since latest release
Testing Site Datagen Dashboard
GitHub Downloads (all assets, all releases)

Version Release Date CCRL 40/15 CCRL Blitz CEGT 40/20
4.1 2026-04-22 3528 (#60-61) 3590 (#64) 3443 (#59)
3.0 2025-12-05 3405 (#84) 3495 (#79-80) -
2.0 2025-08-23 3312 (#115) 3392 (#105) -
1.0 2025-06-02 2856 (#244) 2759 (#256) -

Evaluation

Eleanor uses a fully neural network-based evaluation function, entirely trained on self-play data from an initially simple HCE using the bullet trainer.

Architecture: (768x8hm -> 1536)x2 -> 1x8
A 1536-hidden-layer perspective net with 8 input buckets, 8 output buckets and horizontal mirroring.

Installation

Prerequisites:

  • clang++ compiler
  • On Windows, clang++ must have access to a MinGW GNU toolchain/runtime because the build targets x86_64-w64-windows-gnu
  • Access to make command
  1. Clone the repository
  2. Run make in the root directory
  3. Enjoy your executable 🎉

How to Use

You can interact with the engine via these commands:

  • position — Set the board state using a FEN:

    • position fen [FEN] or
    • position startpos
  • ucinewgame — Resets the position and game state

  • setoption name UCI_Chess960 value true — Enables Chess960 (FRC / DFRC) castling notation (king takes own rook, e.g. e1h1). Positions can be given as position fen [FEN] with X-FEN or Shredder-FEN castling rights

  • quit — Terminates the program

  • go — Begins search and returns the best move

    • Parameters (all in milliseconds):
      • wtime, btime — Remaining time for white/black
      • winc, binc — Increment time for white/black
  • stop — Stops the current search

  • bench — Runs a speed benchmark on a set of positions

  • nnue [full] — Shows a detailed breakdown of the neural network evaluation for the current position (full adds histograms, per-step math and top 8 neurons)

The engine can be used in any GUI with UCI support.

Testing site

Sources I Used


The project is a work in progress and actively developed. Contributions are highly appreciated.

Last updated: 2026-04-18