game-of-life
Interactive JavaScript implementation of Conway's Game of Life. Check it out at echevarria.io.
Controls
- Mouse
click
on a cell to set its value, hold to draw lines - Press
space
to toggle play/pause - Press
d
to set the cursor to draw mode - Press
e
to set the cursor to erase mode - Press
u
to update by one step - Press
p
to reset the board - Press
s
to toggle the play/pause display - Press
h
to toggle the play/pause display
Citations
- index.html styling from Kelvin Abrokwa's nd-gol
- canvas clicking from Cerbrus's answer on Stack Overflow