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. It is completely trained on self trained data from an initially simple HCE using the bullet trainer. Architecture: (768 -> 256)x2 -> 1x8, which is a basic 256 hidden layer perspective net with 8 output buckets.
Installation
Prerequisites:
clang++compiler- Access to
makecommand
-
Clone the repo to your PC
-
Run the command
makein the root directory -
Enjoy your executable
How to use
There are some commands that you can use the engine with.
position: Set the current position of the board with FEN.position fen [FEN]orposition startposcan be used.ucinewgameresets the position and game statequitterminates the programgois the command that asks what is the best move in the current position (search), but we have to give it some parameters:wtimebtimewincbincThe first letter tells the color of player wtime sets the remaining time of the white player and winc sets the increments for the white player. It's important that these parameters are given in milliseconds!stopstops the current searchbenchtests the search speed of the engine on a set of positions
Also, the engine can be connected to any GUI software that has 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 series: it was a good series helping with some fundamental stuff early on.
The project is still in progress and developed constantly. Contributions are highly appreciated.
