Skip to main content

Crate cgt

Crate cgt 

Source
Expand description

Combinatorial Game Theory framework.

System supports short partizan and impartial games, displaying games as SVG images, computing canonical form of a game value and calculations on canonical forms

Modules§

drawing
Drawing module
genetic_algorithm
Utilities for genetic search
graph
Simple graph implementation
grid
Finite grids
has
Has trait and utils
loopy
Loopy games - normal play
misere
Under the misere play condition the first player that cannot move wins
numeric
Various numerical types
parsing
Parsing utilities
short
Short games - normal play
total
Total ordering wrappers

Macros§

impl_has
Generate boilerplate for Has trait