spooky_go 0.5.1

Go board game engine
Documentation

spooky_go 🎃👻

Rust and Python library for the game of Go.

Features

  • Drive external engines with Go Text Protocol.
  • Variable board sizes.
  • Relatively fast.
  • Out-of-the-box support for DL/ML (action encoding and decoding methods).
  • Consistent interface with spooky-chess and spooky-connect4.

Install

Rust

cargo add spooky_go

Python

uv add spooky-go

Includes type hints.

Develop

Tests

  • fish run_tests.fish
    • fish run_python_tests.fish
    • fish run_rust_tests.fish

Lints

  • fish run_lints.fish

Performance

  • fish run_benchmark.fish

See Also