dave7895 / libchess

C++ chess library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libchess

A C++17 library that should provide legal move generation and be fairly performant.


Build Instructions

git clone https://github.com/kz04px/libchess/
mkdir libchess/build
cd libchess/build
cmake ..
make

Example Programs

perft   -- Counts the number of nodes at a given depth
suite   -- Runs perft on a set of 126 positions
ttperft -- Same as perft but with a transposition table
ttsuite -- Same as suite but with a transposition table
split   -- Runs perft on each move in a position

Usage

Both static and shared libraries are available, but the source files can also be included in a project directly.


Tests

Tests can be run with ./libchess-tests


License

libchess is released under the MIT license.


Credits

  • Thanks to Catch2 - "A modern, C++-native, header-only, test framework for unit-tests, TDD and BDD - using C++11, C++14, C++17 and later (or C++03 on the Catch1.x branch)"

About

C++ chess library

License:MIT License


Languages

Language:C++ 99.5%Language:CMake 0.5%