chessplusplus
A UCI chess engine written in C++.
Building
mkdir build
cd build
cmake ..
make chessplusplus -j8
LOG_LEVEL
To add additional logs during runtime:
cmake -DLOG_LEVEL=2 ..
LEVELS:
- 0 - No logging.
- 1 - Additional logging in 'info' output.
- 2 - Full logging, prints info from whole search tree. This causes massive slowdown!!!
Implemented non-UCI commands
printboard
- Prints current position in human friendly way.
perft <depth>
- Prints the perft value for the current position (and for each move separately).
hash
- Prints zobrist hash of current position.
moves <move [move [move...]]>
- Adds moves to current position (doesn't check if moves are legal).
staticeval
- Prints static eval of current position.