A Go version of the Game of Life.
See https://en.wikipedia.org/wiki/Game_of_Life
- Any live cell with fewer than two live neighbours dies, as if caused by under-population.
- Any live cell with two or three live neighbours lives on to the next generation.
- Any live cell with more than three live neighbours dies, as if by overcrowding.
- Any dead cell with exactly three live neighbours becomes a live cell, as if by reproduction.
go get github.com/scottjbarr/gameoflife-go
Pass the -h
switch to see help
go run main.go loader.go -file ./docs/glider.L
go test github.com/scottjbarr/gameoflife-go
or from the project directory
go test
The MIT License (MIT)
Copyright (c) 2015 Scott Barr
See LICENSE.md