386ecd3fd9d479f355a0de274140dc1ef8fbefc6
added history malus | bench 3309645
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)
- Principal Variation Search
- Move ordering
- Time management
- UCI
Installation
Prerequisites:
- A C++ compiler
- Access to
makecommand
-
Clone the repo to your PC
-
Run the command
makein the root directory
You can specify the compiler with the flag
CXXand the executable name withEXE. By default they areg++andEleanorrespectively.
- Run the 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]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
Maksim Korzh's chess engine in C series
Stockfish discord helping community
The project is still in progress and developed constantly. Contributions are highly appreciated.
