From bd5564e2d1be867870cbceadd4a5bfde0db10697 Mon Sep 17 00:00:00 2001 From: Mark <115177215+rektdie@users.noreply.github.com> Date: Mon, 2 Jun 2025 06:29:03 +0200 Subject: [PATCH] Update README.md --- README.md | 69 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 57c3b17..e3de582 100644 --- a/README.md +++ b/README.md @@ -1,39 +1,56 @@ -![Eleanor](https://i.ibb.co/T1ZV9wN/91dea356-a725-45fd-b7a2-cd92afddcba4-1.jpg) -# Eleanor is a chess engine -## Features +
+

+ +

-- Bitboard board representation -- Magic Bitboards -- Legal move generation -- Precalculated attack tables -- Storing moves in a 16 bit word -- Copy/make moving -- Simple evaluation (material and piece-square tables, MVV-LVA) +

+ 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 -- Move ordering -- Time management -- UCI +- 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](https://github.com/jw1912/bullet) trainer. +Architecture: **(768 -> 256)x2 -> 1x8**, which is a basic 256 hidden layer perspective net with 8 output buckets. + ## Installation > Prerequisites: -> - A C++ compiler +> - `clang++` compiler > - Access to `make` command +> 1. Clone the repo to your PC 2. Run the command `make` in the root directory - > You can specify the compiler with the flag `CXX` - > and the executable name with `EXE`. - > By default they are `g++` and `Eleanor` respectively. - -3. Run the executable + + 3. 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](https://www.chess.com/terms/fen-chess). -`position [FEN]` or `position startpos` can be used. +`position fen [FEN]` or `position startpos` can be used. - **`ucinewgame`** resets the position and game state - **`quit`** terminates the program - **`go`** is the command that asks what is the best move in the current position (search), @@ -49,17 +66,13 @@ and winc sets the increments for the white player. Also, the engine can be connected to any GUI software that has UCI support. ## Sources I used -[Chess Programming Wiki](https://www.chessprogramming.org/Main_Page "Chess Programming Wiki") +[Stockfish discord community](https://discord.com/invite/GWDRS3kU6R "Stockfish discord community"): the best possible source for an engine dev. -[Maksim Korzh's chess engine in C series](https://www.youtube.com/watch?v=QUNP-UjujBM&list=PLmN0neTso3Jxh8ZIylk74JpwfiWNI76Cs "Maksim Korzh's chess engine in C series") - -[Stockfish discord helping community](https://discord.com/invite/GWDRS3kU6R "Stockfish discord community") - -[Logo is generated by AI](https://deepai.org/ "Logo is generated by AI") +[Chess Programming Wiki](https://www.chessprogramming.org/Main_Page "Chess Programming Wiki"): contains some good articles. Used it mostly when started the project. +[Maksim Korzh's chess engine in C series](https://www.youtube.com/watch?v=QUNP-UjujBM&list=PLmN0neTso3Jxh8ZIylk74JpwfiWNI76Cs "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.** -###### Last edited: 2025-01-23 - +###### Last edit: 2025-06-02