gol

package module
v0.0.0-...-1eea94a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2020 License: MIT Imports: 0 Imported by: 0

README

Visiting the problem which got me interested in coding.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coord

type Coord struct {
	X, Y int
}

type Universe

type Universe struct {
	Size int
	// contains filtered or unexported fields
}

func New

func New(size int) Universe

func (*Universe) AddSeed

func (u *Universe) AddSeed(row, col int)

func (*Universe) Delta

func (u *Universe) Delta() (live []Coord, dead []Coord)

func (*Universe) Iterate

func (u *Universe) Iterate()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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