This is a simple implementation of Conway's Game of Life using the Zig programming language and the Raylib library for graphics.
- Pause the simulation (with key)
- Zoom in and out
- Configurable speed
- Custom patterns
Action | Binding |
---|---|
Pause Simulation | <SPACE> |
Purge Life | <K> |
Toggle Edit Mode | <E> |
Zoom In | <=> or <WHEEL> |
Zoom Out | <-> or <WHEEL> |
Move Cam Around | <MOUSE RIGHT> |
Toggle Cell State (Edit Mode) | <MOUSE LEFT> |
Before you start, make sure you have the required dependencies for raylib installed. Refer to the official raylib - build and installation guide for instructions on setting up the necessary environment.
git clone --recurse-submodules https://github.com/mr-ema/zell-life
cd ./zell-life
zig build run