grid_world library

Classes

ConwayEvolver
An Evolver that embodies Conway's Game of Life rules.
Evolver
Evolver controls a GridWorld's cell lifecycle.
GridStringer
GridStringer converts a GridWorld to a single line summary string.
GridStringerAnsi
GridStringerAnsi converts a GridWorld to a multi-line ANSI string.
GridStringerPlain
GridStringerPlain converts a GridWorld to a multi-line string.
GridWorld
A grid of dead or alive cells that accepts an Evolver.
GridWorldIterable
GridWorldIterable is a _GridWorldIterator factory seeded with a GridWorld a ConwayEvolver, and an iteration limit so that attempts to pass the iterable to, say, List.from(iterable) won't explode.