Crates.io | igs |
lib.rs | igs |
version | 0.1.4 |
source | src |
created_at | 2023-05-30 16:40:58.475074 |
updated_at | 2023-12-31 10:37:16.542248 |
description | The library for for solving impartial games. |
homepage | |
repository | https://github.com/beling/impartial-games |
max_upload_size | |
id | 878085 |
size | 339,964 |
igs
(impartial game solver) is the Rust library by Piotr Beling for solving impartial games. Currently, only the normal play convention is supported, but support for misère games is planned.
igs
can determine both an outcome class (i.e. a player with a winning strategy) and a nimber of any game position. The solver is highly configurable and can use many advanced techniques to speed up calculations, including:
igs
has built-in support for the following games: Cram, Chomp (2 models), Grundy's game. Adding support for other games comes down to implementing the appropriate trait.