This repository provides a C++ library with Python bindings for generating data for the game of Go. The library includes functionality for loading SGF files, manipulating Go boards, and generating input data for training NNs.
CMake-based build:
mkdir build
cd build
cmake ..
cmake --build .
Installation with pip
:
pip install .
See examples/play_sgf.cpp
and examples/play_sgf.py
.
After executing the build (and installation) step(s) above, you can run the example:
./build/examples/play_sgf <path_to_sgf_file>
Python version:
python examples/play_sgf.py <path_to_sgf_file>