- C++ 92.6%
- CMake 7.4%
| .github/workflows | ||
| fonts | ||
| src | ||
| .gitignore | ||
| CMakeLists.txt | ||
| LICENSE.txt | ||
| README.md | ||
Conway's Game of Life SFML Edition
Controls
Keyboard:
spaceToggle simulation auto-runRRandomize all cellsCClear all cells and reset iteration to 0Right ArrowGo forwards one iteration (when paused)Left ArrowGo backwards one iteration (when paused, up to 500 iterations from last most generated)
Mouse:
Scroll- Zoom in or out of the gridRight Mouse Drag- Pan the grid.Left Mouse Click- Toggle a cell to be alive or dead (when paused; reset iteration to zero and clears history)
Building
-
Install Git and CMake. Use your system's package manager if available.
-
Clone this repo and open the it in your text editor of choice.
-
If you use Linux, install SFML's dependencies using your system package manager. A list of dependencies can be found here
-
Configure and build your project. Most popular IDEs support CMake projects with very little effort on your part.
Using CMake from the command line is straightforward as well. Be sure to run these commands in the root directory of the project you just created.
cmake -B build cmake --build build -
Enjoy!
License
Conway's Game of Life SFML Edition - Copyright © 2025 Jeffrey Morris
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions; see LICENSE.txt for more info.