Conway's Game of Life written in C using Raylib.
- C 97.6%
- Shell 2.4%
| .gitignore | ||
| build.sh | ||
| main.c | ||
| preview.jpg | ||
| ReadMe.md | ||
| UNLICENSE | ||
Conway's Game of Life
Conway's Game of Life written in C using Raylib.
Dependencies
Make sure Raylib is installed. For example, on Arch:
sudo pacman -S raylib
Build
To compile the code:
./build.sh
Run
To run the game:
./gameoflife
Press space to pause/resume, M to toggle between a finite (pink) and toroidal (blue) grid, R to regenerate the world, G to regenerate a world containing a Gosper Glider Gun, and left click to toggle the state of a cell.
