Terminal based Conway's Game of Life. Implemented in Go.
- Run on your terminal!
- Insert pattern from presets
- Color themes
- Mouse editing
Go to release page and download.
$ wget https://github.com/sachaos/go-life/releases/download/v0.4.0/go-life_darwin_amd64 -O /usr/local/bin/go-life
$ chmod +x /usr/local/bin/go-life
You need go version 1.11.
$ git clone https://github.com/sachaos/go-life.git
$ make install
$ go-life
$ go-life --theme Ocean --pattern glider-gun
$ curl http://www.conwaylife.com/patterns/glider.rle | go-life --file -
$ go-life --theme Ocean --file ./glider.lif
$ go-life --help
SPC: stop
Enter: step
c: clear
r: random
h: hide this message & status
p: switch preset
t: switch theme
LeftClick: switch state
RightClick: insert preset