A terminal version of Conway's Game of Life.
Go to file
2019-03-18 17:20:07 -07:00
conway.c Added option to change colors. 2019-03-18 17:20:07 -07:00
LICENSE Initial commit 2019-03-18 16:05:51 -07:00
Makefile Initial commit 2019-03-18 16:05:51 -07:00
README.md Added option to change colors. 2019-03-18 17:20:07 -07:00

Conway

A termbox program for running Conway's Game of Life.

Usage

Command line flags:

  • -S[0-8]* the rules for when an alive cell survives
  • -B[0-8]* the rules for when a new cell is born
  • -Z start the canvas with all dead cells (zeroed out)
  • -A[0-256] provide a color for alive cells
  • -D[0-256] provide a color for dead cells

Some interesting rulesets can be found in this list.

You can draw with the mouse and press space to toggle drawing mode (default: create living cells). Pressing p will toggle play/pause and pressing escape or q will quit.