Documentation ¶
Overview ¶
Package gogol is an implementation of Conway's Game of Life
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
State is an instance of the Game of Life
func (*State) GetDimensions ¶
GetDimensions returns the dimensions of the world
func (*State) NextGeneration ¶
func (state *State) NextGeneration()
NextGeneration calculates the next generation of the game
Click to show internal directories.
Click to hide internal directories.