0e48eefc72786b45e8650190d370cc1fc99d3949
Eleanor Chess Engine
Search Features
- Negamax
- Quiescent Search
- Transposition Table
- Move Ordering (TT, SEE + MVV-LVA, Killers, History)
- Iterative Deepening
- Aspiration Windows
- Principal Variation Search
- Reverse Futility Pruning
- Improving
- Null Move Pruning
- Late Move Reductions
- Log formula
- Cutnode
- History
- Late Move Pruning
- Futility Pruning
- QS SEE Pruning
- PVS SEE Pruning
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: (768 -> 256)x2 -> 1x8
A basic 256-hidden-layer perspective net with 8 output buckets.
Installation
Prerequisites:
clang++compiler- Access to
makecommand
- Clone the repository
- Run
makein the root directory - 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]orposition startpos
-
ucinewgame— Resets the position and game state -
quit— Terminates the program -
go— Begins search and returns the best move- Parameters (all in milliseconds):
wtime,btime— Remaining time for white/blackwinc,binc— Increment time for white/black
- Parameters (all in milliseconds):
-
stop— Stops the current search -
bench— Runs a speed benchmark on a set of positions
The engine can be used in any GUI with UCI support.
Sources I Used
- Stockfish Discord Community — The best possible source for an engine dev.
- Chess Programming Wiki — Contains some good articles. Used it mostly when started the project.
- Maksim Korzh's Chess Engine in C (YouTube Series) — it was a good series helping with some fundamental stuff early on.
The project is a work in progress and actively developed. Contributions are highly appreciated.
