Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Blinker = []image.Point{
{X: 1, Y: 0},
{X: 1, Y: 1},
{X: 1, Y: 2},
}
View Source
var Glider = []image.Point{
{X: 5, Y: 1},
{X: 6, Y: 2},
{X: 7, Y: 2},
{X: 5, Y: 3},
{X: 6, Y: 3},
}
View Source
var PentominoR = []image.Point{
{X: 10, Y: 11},
{X: 10, Y: 12},
{X: 11, Y: 10},
{X: 11, Y: 11},
{X: 12, Y: 11},
}
Functions ¶
func NewGameOfLifeGenerator ¶
func NewGameOfLifeGenerator(xMax, yMax int) *cellularautomata.CellularAutomata[bool]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.