Before you get this, you need
- C++ compiler of your choice
- SDL2
- SDL2 TFF
If you need help with setting up SDL2, you can check out this excellent tutorial.
In order to get it running, first clone the repository
git clone https://github.com/hadber/game-of-life.git
and then compile it with
g++ gol.cpp -w -lSDL2 -lSDL2_ttf -o gol
You can left-click to set a cell as 'alive' or right-click to set it as 'dead'. The game starts as paused. To unpause (or pause later), press space
on your keyboard.