/go-conway

Small Conway's Game of Life CLI implementation in Go

Primary LanguageGo

go-conway

Small Conway's Game of Life CLI implementation in Go.

demo.webm

Install

go install github.com/shelepuginivan/go-conway@latest

Usage

In the game window:

  • Arrows, PgUp, PgDn, Home, End - move cursor
  • Space - toggle cell state
  • z, Enter - perform one tick
  • x - toggle automatic mode (tick every 200ms)
  • Delete - clear game grid
  • r - random grid
  • q, Esc, Ctrl+c, Ctrl+q - quit
  • Mouse is supported