/tsumego-solver

A program for solving and generating tsumego puzzles.

Primary LanguageRust

tsumego-solver

A program for solving and generating tsumego puzzles, based on the paper Search versus Knowledge for Solving Life and Death Problems in Go.

Example puzzles generated by tsumego-solver.

Installation

You can download the CLI from github releases.

Usage

Generating puzzles

The following command will generate puzzles and output them in sgf format to the generated_puzzles directory.

./cli generate

Development

Running benchmarks

cargo bench

Generating asm

RUSTFLAGS="-g --emit asm -Z asm-comments" cargo build --release

Note the asm-comments flag only works with nightly rust.