cgt-tools

Combinatorial Game Theory toolkit in Rust and Python

Guides

Python and Jupyter

pip install cgt-py brings the library to Python, with interactive widgets for exploring positions in Jupyter. See docs.

Rust Library

cargo add cgt for native performance computations and position searches, in parallel and with transposition tables. See docs.

Command Line

cgt-cli runs searches from the terminal.

Train AI Players

Train AlphaZero-style computer players for combinatorial games.

Play Combinatorial Games

Play combinatorial games against an AI that runs in your browser or another player.