Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 924 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 924 Bytes

Chess-Engine

Chess Engine in C++17.

Dependencies

Cmake will try to download & compile them, but I am not very good with it, so it might fail :)

Building

The engine works with GCC, Clang or ICC (tested only with GCC though).
To build, run this in a terminal (from the root directory of the project):
mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_WITH_NIX=OFF && cmake --build .

This produces three binary files: chess_perft, chess_gui and chess_tests.
chess_perft and chess_tests are used only for debugging purposes, use chess_gui to play chess with a graphical display.

Note

The source code of Stockfish was a great help to build this engine, so special thanks to the developer(s) of Stockfish.