Skip to content

Conway's Game of Life using the Zig programming language and the Raylib library for graphics.

License

Notifications You must be signed in to change notification settings

mr-ema/zell-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zig Conway's Game Of Life

This is a simple implementation of Conway's Game of Life using the Zig programming language and the Raylib library for graphics.



Navigation



Resources



Features

  • Pause the simulation (with key)
  • Save/Load grid from file
  • Zoom in and out
  • Configurable speed


Planned

  • Multiple grids
  • Load/Save configuration using a json file
  • Improve debug logging and errors
  • Custom patterns
  • (UI) Improved user interface for better usability and aesthetics
  • (UI) add a toast notification system to show errors and useful info
  • Performance optimization for handling larger grids and more complex operations
  • Advanced features for managing multiple grids simultaneously


Demo

Demo



Default Bindings

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>


How To Build And Run It

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 https://github.com/mr-ema/zell-life
cd ./zell-life
zig build run


About

Conway's Game of Life using the Zig programming language and the Raylib library for graphics.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published