Update README.md
This commit is contained in:
1 parent
588038633f
commit
bd5564e2d1
1 file changed
+40
-27
@@ -1,39 +1,56 @@
|
|||||||

|
<br>
|
||||||
# Eleanor is a chess engine
|
<p align="center">
|
||||||
## Features
|
<img src="https://i.ibb.co/T1ZV9wN/91dea356-a725-45fd-b7a2-cd92afddcba4-1.jpg"/>
|
||||||
|
</p>
|
||||||
|
|
||||||
- Bitboard board representation
|
<h1 align="center">
|
||||||
- Magic Bitboards
|
Eleanor chess engine
|
||||||
- Legal move generation
|
</h1>
|
||||||
- Precalculated attack tables
|
|
||||||
- Storing moves in a 16 bit word
|
## Search features
|
||||||
- Copy/make moving
|
- Negamax
|
||||||
- Simple evaluation (material and piece-square tables, MVV-LVA)
|
- Quiescent Search
|
||||||
|
- Transposition Table
|
||||||
|
- Move Ordering (TT, SEE + MVV-LVA, Killers, History)
|
||||||
|
- Iterative Deepening
|
||||||
|
- Aspiration Windows
|
||||||
- Principal Variation Search
|
- Principal Variation Search
|
||||||
- Move ordering
|
- Reverse Futility Pruning
|
||||||
- Time management
|
- Improving
|
||||||
- UCI
|
- 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
|
## Installation
|
||||||
|
|
||||||
> Prerequisites:
|
> Prerequisites:
|
||||||
> - A C++ compiler
|
> - `clang++` compiler
|
||||||
> - Access to `make` command
|
> - Access to `make` command
|
||||||
|
>
|
||||||
|
|
||||||
1. Clone the repo to your PC
|
1. Clone the repo to your PC
|
||||||
|
|
||||||
2. Run the command `make` in the root directory
|
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
|
## How to use
|
||||||
There are some commands that you can use the engine with.
|
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`**: 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
|
- **`ucinewgame`** resets the position and game state
|
||||||
- **`quit`** terminates the program
|
- **`quit`** terminates the program
|
||||||
- **`go`** is the command that asks what is the best move in the current position (search),
|
- **`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.
|
Also, the engine can be connected to any GUI software that has UCI support.
|
||||||
|
|
||||||
## Sources I used
|
## 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")
|
[Chess Programming Wiki](https://www.chessprogramming.org/Main_Page "Chess Programming Wiki"): contains some good articles. Used it mostly when started the project.
|
||||||
|
|
||||||
[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")
|
|
||||||
|
|
||||||
|
[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.
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
**The project is still in progress and developed constantly. Contributions are highly appreciated.**
|
**The project is still in progress and developed constantly. Contributions are highly appreciated.**
|
||||||
|
|
||||||
###### Last edited: 2025-01-23
|
###### Last edit: 2025-06-02
|
||||||
|
|
||||||
Reference in new issue
Block a user