Update README.md

This commit is contained in:
rektdie authored and GitHub committed 2025-06-02 06:34:26 +02:00
1 parent bd5564e2d1
commit 548ba530b2
1 file changed
+57 -59
+57 -59
View File
@@ -1,78 +1,76 @@
<br>
<p align="center"> <p align="center">
<img src="https://i.ibb.co/T1ZV9wN/91dea356-a725-45fd-b7a2-cd92afddcba4-1.jpg"/> <img src="https://i.ibb.co/T1ZV9wN/91dea356-a725-45fd-b7a2-cd92afddcba4-1.jpg" alt="Eleanor Chess Engine">
</p> </p>
<h1 align="center"> <h1 align="center">Eleanor Chess Engine</h1>
Eleanor chess engine
</h1>
## Search features ## Search Features
- Negamax
- Quiescent Search - Negamax
- Transposition Table - Quiescent Search
- Move Ordering (TT, SEE + MVV-LVA, Killers, History) - Transposition Table
- Iterative Deepening - Move Ordering (TT, SEE + MVV-LVA, Killers, History)
- Aspiration Windows - Iterative Deepening
- Principal Variation Search - Aspiration Windows
- Reverse Futility Pruning - Principal Variation Search
- Improving - Reverse Futility Pruning
- Null Move Pruning - Improving
- Late Move Reductions - Null Move Pruning
- Log formula - Late Move Reductions
- Cutnode - Log formula
- History - Cutnode
- Late Move Pruning - History
- Futility Pruning - Late Move Pruning
- QS SEE pruning - Futility Pruning
- PVS SEE pruning - QS SEE Pruning
- PVS SEE Pruning
## Evaluation ## 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.
Eleanor uses a **fully neural network-based evaluation function**, entirely trained on self-play data from an initially simple HCE using the [bullet](https://github.com/jw1912/bullet) trainer.
**Architecture:** `(768 -> 256)x2 -> 1x8`
A basic 256-hidden-layer *perspective net* with 8 output buckets.
## Installation ## Installation
> Prerequisites: > **Prerequisites:**
> - `clang++` compiler > - `clang++` compiler
> - Access to `make` command > - Access to `make` command
>
1. Clone the repo to your PC 1. Clone the repository
2. Run `make` in the root directory
2. Run the command `make` in the root directory 3. Enjoy your executable 🎉
3. Enjoy your executable
## How to use ## 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). You can interact with the engine via these commands:
`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),
but we have to give it some parameters:
`wtime` `btime` `winc` `binc`
The 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!**
- **`stop`** stops the current search
- **`bench`** tests 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. - `position` — Set the board state using a [FEN](https://www.chess.com/terms/fen-chess):
- `position fen [FEN]` or
- `position startpos`
## Sources I used - `ucinewgame` — Resets the position and game state
[Stockfish discord community](https://discord.com/invite/GWDRS3kU6R "Stockfish discord community"): the best possible source for an engine dev. - `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
[Chess Programming Wiki](https://www.chessprogramming.org/Main_Page "Chess Programming Wiki"): contains some good articles. Used it mostly when started the project. - `stop` — Stops the current search
- `bench` — Runs a speed benchmark on a set of positions
[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. The engine can be used in any GUI with **UCI support**.
<hr>
**The project is still in progress and developed constantly. Contributions are highly appreciated.** ## Sources I Used
###### Last edit: 2025-06-02 - [Stockfish Discord Community](https://discord.com/invite/GWDRS3kU6R) — The best possible source for an engine dev.
- [Chess Programming Wiki](https://www.chessprogramming.org/Main_Page) — Contains some good articles. Used it mostly when started the project.
- [Maksim Korzh's Chess Engine in C (YouTube Series)](https://www.youtube.com/watch?v=QUNP-UjujBM&list=PLmN0neTso3Jxh8ZIylk74JpwfiWNI76Cs) — 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.**
###### Last updated: 2025-06-02