summaryrefslogtreecommitdiff
path: root/readme.md
blob: 2e85c42ab47e74dfc6d4f2aa94b32a344fad3991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Compilation: issue the ```make``` command

Usage: life B S

	B                   neighbors needed to be born

	S                   neighbors needed to stay alive

Example: life 3 23

	Each cell becomes alive if it has 3 neighbors and stays alive if it has 2 or 3 neighbors.

Keybindings:

	enter               restart with random seed

	backspace           clear screen

	space               pause

	period              step

	g                   toggle grid

	left mouse button   draw

	right mouse button  erase

  q                   quit