Skip to content

An implementation of Conway's Game of Life using Go and Ebiten

Notifications You must be signed in to change notification settings

saimanwong/go-game-of-life

Repository files navigation

Game of Life

An implementation of Conway's Game of Life using Go and Ebiten.

Key Bindings

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

Getting Started

$ go run main.go world.go

Using Docker and Browser

Open http://localhost in browser.

Remote from Docker Hub

$ PORT=8080; docker run --pull always -it -p 80:$PORT -e PORT=$PORT saimanwong/go-game-of-life:latest

Local Build and Run Dockerfile.dockerhub

$ docker build -t gol-local -f Dockerfile.dockerhub .
$ PORT=8080; docker run -it -p 80:$PORT -e PORT=$PORT --expose $PORT gol-local

Screenshots

About

An implementation of Conway's Game of Life using Go and Ebiten

Resources

Stars

Watchers

Forks