11 releases (breaking)

Uses new Rust 2024

new 0.9.0 Oct 23, 2025
0.7.0 Apr 17, 2025
0.6.0 Dec 25, 2024
0.5.1 Aug 31, 2024
0.1.0 Jul 29, 2023

#221 in Math

Download history 1/week @ 2025-07-01 6/week @ 2025-08-19 2/week @ 2025-08-26 2/week @ 2025-09-09 1/week @ 2025-09-16 138/week @ 2025-09-23 5/week @ 2025-09-30 1/week @ 2025-10-07 8/week @ 2025-10-14

152 downloads per month

AGPL-3.0

440KB
11K SLoC

cgt

Combinatorial Game Theory framework and toolkit in Rust and Python.

cgt-gui

Experimental graphical interface. See README.

cgt-cli utils

Some of the library features are exposed through CLI utility tool. See CLI README for installation and usage instructions.

Rust Library

Documentation

Python library (cgt-py)

Available on pypi

Python interface is intended as a thin wrapper for interactive exploration using notebook software like Jupyter rather than exhaustive searches of large search spaces.

Credits

Citing

If you found the toolkit useful for your work please consider citing it.

BibTeX

@misc{maciosowskiCgttools,
  title = {cgt-tools},
  author = {Maciosowski, Tomasz},
  howpublished = {https://cgt.tools},
  abstract = {Combinatorial Game Theory toolkit},
  copyright = {AGPL-3.0}
}

BibLaTeX

@software{maciosowskiCgttools,
  title = {cgt-tools},
  author = {Maciosowski, Tomasz},
  url = {https://cgt.tools},
  abstract = {Combinatorial Game Theory toolkit}
}

License

Copyright (C) 2023-2025 Tomasz Maciosowski (t4ccer)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Dependencies

~3.5–6.5MB
~124K SLoC