Conway's Game of Life implementation in C using SDL2.
You will need a C compiler as well as SDL2. There is a bash build script for the project that compiles the project with gcc
.
If you have gcc
and SDL2 installed, then just invoke the build script:
./build.sh
Simply execute the program!
./gol
- Space bar: pause/resume simulation
- Arrow keys: pan around the simulation
- Click on cell: Bring cell to life, or remove life from the cell
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.