gameoflife

package
v0.0.0-...-e6422fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL