Implementation of Conway's Game Of Life using C++, SFML and Sparse Encoding.
Based on Game Of Life Implementation by Javidx9.
- WASD - ZQSD - Arrows: Move Camera
- P: Toggle Pause
- R: Cleanup Scene
- O: Toggle Optimization
- LMB: Spawn one cell
- RMB: Spawn multiple cells
- Mouse Wheel: Zoom
- ESC: Close window
- SFML Conway's Game Of Life
- Description
- Example
- Controls
- Table of Contents
- Installation
- Libraries
- License
- C++ compiler (gcc, g++, cl, clang)
- CMake 3.28 or newer
- OpenMP
For Linux/Ubuntu, you also need to install the following dependencies:
sudo apt-get update
sudo apt-get install -y libx11-dev \
libxcursor-dev \
libxi-dev \
libxrandr-dev \
libudev-dev \
libgl1-mesa-dev \
libfreetype6-dev \
libjpeg-dev \
libopenal-dev \
libflac-dev \
libvorbis-dev \
libxcb1-dev \
libxcb-image0-dev \
libxcb-randr0-dev \
libxcb-xtest0-devgit clone https://github.com/Corentin-Mzr/GameOfLife-SFML.gitFrom the root folder, execute the following commands:
cmake -B build
cmake --build buildTo run the program, launch it from the build/bin folder:
cd build/bin
./SFML-Conway.exeThe following libraries have been used for this program:
This program is under the MIT License
