/go-life

Implementation of Conway's Game of L:seedling:fe in golang

Primary LanguageGo

golife

Implementation of Conway's Game of Life in golang

Preview

The cells can be in one of three different states.

  • Newborn (Cyan)
  • Alive (Green)
  • Dead (Red)

Run

go run examples/main.go --rows=32 --cols=64 --seeds=300

Command line arguments

  • rows - The number of rows in the grid [optional]
  • cols - The number of columns in the grid [optional]
  • seeds - The number of the initial randomly placed cells in the grid [optional]