Skip to content

dave7895/libchess

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 99.5%
  • CMake 0.5%