| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
/ ^---^ \
/ / @ @ \ \
|| \ v / ||
|| / \ ||
|| / / \ \ ||
|| \/\___/\/ ||
\ | | /
\ ^ ^ /
__ ___ __
/ \ | / \ | |
\__ __ |__ / |__ __ __ |
\ / \ | \ | | /__\ / |_/
\__/ \__/ | \__/ | | \__ \__ | \
SoFCheck plays on CCRL and Lichess.
SoFCheck is a chess engine. As many other chess engines, it uses magic bitboards to generate moves and alpha-beta pruning to find out how to analyze positions. The main features of SoFCheck are:
To learn more, see the project design and how it works.
The project is in beta stage. It means that the engine plays strong enough (~2400-2500 Elo, according to my rough estimation), but there is still much space for improvement.
The project is using CMake as a build system. You will also need a C++17-compatible compiler. The engine should build fine with the following compilers:
Note that MSVC is not supported as good as GCC and Clang, and the resulting binaries may be slower. Be aware of it.
Other compilers are not tested.
The following dependencies are optional:
To install them all on Debian/Ubuntu, use
$ sudo apt install libgtest-dev libbenchmark-dev libboost-stacktrace-dev libjsoncpp-dev
You may also install libcxxopts-dev (version 3.0.0 or later is required), but it's present in quite new distro releases (Ubuntu 22.04+ and Debian 12+)
To build the engine, do the following:
$ mkdir build $ cd build $ cmake .. $ make -j8
You may also want to build the engine in release mode with maximum optimization. To do this, use
$ mkdir build $ cd build $ cmake -DCMAKE_BUILD_TYPE=Release -DCPU_ARCH_LEVEL=BMI2 -DUSE_NO_EXCEPTIONS=ON -DUSE_LTO=ON .. $ make -j8
For more flags, refer to corresponding CMake scripts (like CMakeLists.txt or cmake/Platform.cmake) or use CMake GUI.
Note on -DCPU_ARCH_LEVEL=BMI2: it should be used only on modern Intel CPUs and on AMD with Zen 3 (or later) microarchitecture. Older AMD CPUs have a very slow implementation of PDEP and PEXT instructions, so using this flag may slow down the engine greatly.
SoFCheck uses CTest. So, you can just invoke ctest in build/ directory after you built the engine.
License: GPL 3+.
SoFCheck is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
SoFCheck is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| Back | FazBrowse Home | New Git URL |