The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. This project is an implementation of the Game of Life using Raylib.
To get started with the Game of Life project, simply run the following command:
git clone https://github.com/0300dbdd1b/GameOfLife &&
cd GameOfLife &&
make
To run the Game of Life simulation, use the following command:
./GameOfLife
Key | Action |
---|---|
[ | Decrease the grid size |
] | Increase the grid size |
Space | Pause or resume the simulation |
X | Recenter the grid |
R | Randomize the grid |
C | Clear the grid |
F | Increase simulation speed |
S | Decrease simulation speed |
sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev