Conway's Game of Life simulator written in C using SDL2.
This project was a submission for the first semester's programming course in university.
gcc -Wall -m32 simulation.c draw.c userInterface.c file.c main.c -lmingw32 -lSDL2main -lSDL2 -lSDL2_ttf
You can try it out without compiling the program by clicking here.
The archive includes the executable and the SDL dependencies.
- No limit on the size of the map
- Zoom
- The map can be edited while running
- Start and stop simulation
- Step-by-step mode
- Simulation reset
- Save/Load simulation state (
map.binfile) - Speed control (in the range between 1-50)
Left click: Activate cell
Right click: Deactivate (remove) cell
Zoom: Use mouse wheel scroll
Moving view: Hold down SPACE and then move the cursor
This software is released under the MIT license.
A short and simple permissive license with conditions only requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
Refer to the LICENSE file for the complete text.
