An implementation of Conway's Game of Life using Go and Ebiten.
Key(s) | Description |
---|---|
P | Randomly populates the world |
R | Resets the world |
UP / DOWN | Increase or decrease TPS |
H + Left Click | Inserts a Heavyweight Spaceship |
$ go run main.go world.go
Open http://localhost in browser.
$ PORT=8080; docker run --pull always -it -p 80:$PORT -e PORT=$PORT saimanwong/go-game-of-life:latest
$ docker build -t gol-local -f Dockerfile.dockerhub .
$ PORT=8080; docker run -it -p 80:$PORT -e PORT=$PORT --expose $PORT gol-local