No description
  • C++ 92.6%
  • CMake 7.4%
Find a file
2025-10-14 18:40:17 -05:00
.github/workflows Update ci.yml 2025-07-30 11:56:35 -06:00
fonts Finish base functional game 2025-10-14 14:31:25 -05:00
src Fix narrowing type error 2025-10-14 18:40:17 -05:00
.gitignore Simplify .gitignore to include a single CMake binary directory 2022-05-10 23:43:23 +02:00
CMakeLists.txt Finish base functional game 2025-10-14 14:31:25 -05:00
LICENSE.txt Finish base functional game 2025-10-14 14:31:25 -05:00
README.md Finish base functional game 2025-10-14 14:31:25 -05:00

Conway's Game of Life SFML Edition

Controls

Keyboard:

  • space Toggle simulation auto-run
  • R Randomize all cells
  • C Clear all cells and reset iteration to 0
  • Right Arrow Go forwards one iteration (when paused)
  • Left Arrow Go backwards one iteration (when paused, up to 500 iterations from last most generated)

Mouse:

  • Scroll - Zoom in or out of the grid
  • Right 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

  1. Install Git and CMake. Use your system's package manager if available.

  2. Clone this repo and open the it in your text editor of choice.

  3. If you use Linux, install SFML's dependencies using your system package manager. A list of dependencies can be found here

  4. 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
    
  5. 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.