Update README.md

This commit is contained in:
rektdie authored and GitHub committed 2025-06-02 06:29:03 +02:00
1 parent 588038633f
commit bd5564e2d1
1 file changed
+41 -28
+41 -28
View File
@@ -1,39 +1,56 @@
![Eleanor](https://i.ibb.co/T1ZV9wN/91dea356-a725-45fd-b7a2-cd92afddcba4-1.jpg)
# Eleanor is a chess engine
## Features
<br>
<p align="center">
<img src="https://i.ibb.co/T1ZV9wN/91dea356-a725-45fd-b7a2-cd92afddcba4-1.jpg"/>
</p>
- 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)
<h1 align="center">
Eleanor chess engine
</h1>
## 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&apos;s chess engine in C series](https://www.youtube.com/watch?v=QUNP-UjujBM&list=PLmN0neTso3Jxh8ZIylk74JpwfiWNI76Cs "Maksim Korzh&apos;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&apos;s chess engine in C series](https://www.youtube.com/watch?v=QUNP-UjujBM&list=PLmN0neTso3Jxh8ZIylk74JpwfiWNI76Cs "Maksim Korzh&apos;s chess engine in C series"): it was a good series helping with some fundamental stuff early on.
<hr>
**The project is still in progress and developed constantly. Contributions are highly appreciated.**
###### Last edited: 2025-01-23
###### Last edit: 2025-06-02