Simple implementation of Conway's Game of Life.
- Install SFML
git clone https://://github.com/ziminer/game-of-life.git
make
./game-of-life
+
to speed up the simulation.=
to slow down the simulation.r
to reset to initial configuration.
- Arrow keys to move.
- Right click a cell to centre the screen on the cell.
g
+ two numbers with a space inbetween +ENTER
to centre the screen on a coordinate.j
+ two numbers with a space inbetween +ENTER
to jump to the nearest neighbour to a coordinate.j
+ENTER
to jump to nearest neighbour.z
to zoom in.x
to zoom out.
SPACE
to pause and go into build mode.- Left click on a cell to activate/deactivate it.
ESC
to discard all changes.
- In build mode,
TAB
to cycle through the available cell patterns. - Drag mouse to move pattern around.
e
to rotate pattern.- Left click to activate/deactivate.
- Press
p
to begin recording a pattern.p
when done, orESC
to drop. This pattern will also become available viaTAB
. ESC
to discard pattern.
- Clicking on cells can be buggy - some cells hard to access.