Skip to content

claudemuller/life.go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

Go

Conway's Game of Life written in Go with raylib.

Game of Life

Requirements

Simulation Interaction

The simulation starts in edit mode:

start

One can use the:

  • space key to toggle between editing or running the simulation
  • right-mouse button to add cells
  • left-mouse button to remove cells
  • s key to to seed the Petri dish with random cells

seed dish

  • enter key to restart with a clean Petri dish
  • q key to quit

Build

go build cmd/main.go

Run

go run cmd/main.go

Releases

No releases published

Packages

No packages published

Languages