ConwayEvolver class

An Evolver that embodies Conway's Game of Life rules.

Inheritance

Constructors

ConwayEvolver()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

aliveAtNextStep(GridWorld w, int i, int j) bool
Returns true if the GridWorld cell at {i,j} should be alive after the next time step.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

blinker GridWorld
Pattern with a period of two.
final
glider GridWorld
A glider that moves down and right.
final
gosperGliderGun GridWorld
Emits a glider every 15 iterations down and to the right.
final
lightweightSpaceship GridWorld
A spaceship that moves right.
final
pentaDecathlon GridWorld
Pattern with a period of fifteen.
final
rPentimino GridWorld
Stabilizes in generation 1103; emits a glider.
final
toad GridWorld
A stable pattern.
final

Static Methods

gliderFleet() GridWorld
A glider fleet.
gunFight() GridWorld
A fight between two Gosper glider guns.