MCPcopy Index your code
hub / github.com/cameron-martin/tsumego-solver

github.com/cameron-martin/tsumego-solver @v0.1.3

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.3 ↗ · + Follow
183 symbols 445 edges 15 files 4 documented · 2% updated 6y agov0.1.3 · 2020-05-07★ 4310 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

Core symbols most depended-on inside this repo

Shape

Method 107
Function 59
Class 11
Enum 5
Interface 1

Languages

Rust100%

Modules by API surface

src/go/bit_board.rs53 symbols
src/go.rs53 symbols
src/puzzle.rs33 symbols
src/puzzle/proof_number.rs9 symbols
src/puzzle/profiler.rs8 symbols
src/go/benson.rs8 symbols
src/go/sgf_conversion.rs6 symbols
src/generation/candidate.rs3 symbols
src/bin/cli/explore.rs3 symbols
benches/main.rs3 symbols
src/generation/validation.rs1 symbols
src/generation.rs1 symbols

For agents

$ claude mcp add tsumego-solver \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page