{"id":22525777,"url":"https://github.com/mr-ema/zell-life","last_synced_at":"2025-03-28T03:47:08.151Z","repository":{"id":178367913,"uuid":"657740783","full_name":"mr-ema/zell-life","owner":"mr-ema","description":"Conway's Game of Life using the Zig programming language and the Raylib library for graphics.","archived":false,"fork":false,"pushed_at":"2024-06-23T02:38:54.000Z","size":975,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T05:16:31.486Z","etag":null,"topics":["conways-game-of-life","game-of-life","raygui","raylib","state-machine","zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mr-ema.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-23T18:31:19.000Z","updated_at":"2024-06-23T02:38:57.000Z","dependencies_parsed_at":"2023-12-03T02:27:15.267Z","dependency_job_id":"6f4ba106-6728-4f9c-8b96-8abb8b4958ad","html_url":"https://github.com/mr-ema/zell-life","commit_stats":null,"previous_names":["mr-ema/zell-life"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fzell-life","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fzell-life/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fzell-life/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mr-ema%2Fzell-life/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mr-ema","download_url":"https://codeload.github.com/mr-ema/zell-life/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966933,"owners_count":20701759,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conways-game-of-life","game-of-life","raygui","raylib","state-machine","zig"],"created_at":"2024-12-07T06:11:38.521Z","updated_at":"2025-03-28T03:47:08.133Z","avatar_url":"https://github.com/mr-ema.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zig Conway's Game Of Life \nThis is a simple implementation of Conway's Game of Life using the Zig\nprogramming language and the Raylib library for graphics.\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Navigation\n- [Demo](#demo)\n- [Features](#features)\n- [Default Bindings](#default-bindings)\n- [How To Build](#how-to-build-and-run-it)\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Resources\n- [DockerFile For Raylib Projects](https://gist.github.com/mr-ema/d78ec7fefb8ea1ed8b2907eb2f0dc9da)\n- [Nix Shell For Raylib Projects](https://github.com/mr-ema/dotfiles/blob/main/nixos/shells/raylib.nix)\n- [Zig](https://ziglang.org)\n- [Awesome Zig](https://github.com/C-BJ/awesome-zig)\n- [Raylib](https://www.raylib.com)\n- [Zig Raylib Bindings](https://github.com/ryupold/raylib.zig)\n- [Zig Showdown](https://github.com/zig-community/Zig-Showdown)\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Features\n- [x] Pause the simulation (with \u003cscape\u003e key)\n- [x] Save/Load grid from file\n- [x] Zoom in and out\n- [x] Configurable speed\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Planned\n- [ ] Multiple grids\n- [ ] Load/Save configuration using a json file\n- [ ] Improve debug logging and errors\n- [ ] Custom patterns\n- [ ] (UI) Improved user interface for better usability and aesthetics\n- [ ] (UI) add a toast notification system to show errors and useful info\n- [ ] Performance optimization for handling larger grids and more complex operations\n- [ ] Advanced features for managing multiple grids simultaneously\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Demo\n![Demo](https://github.com/mr-ema/zell-life/blob/main/docs/demo.gif)\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## Default Bindings\n| Action                            |  Binding                          |\n| --------------------------------- | --------------------------------- |\n| Pause Simulation                  | `\u003cSPACE\u003e`                         |\n| Purge Life                        | `\u003cK\u003e`                             |\n| Toggle Edit Mode                  | `\u003cE\u003e`                             |\n| Zoom In                           | `\u003c=\u003e` or `\u003cWHEEL\u003e`                |\n| Zoom Out                          | `\u003c-\u003e` or `\u003cWHEEL\u003e`                |\n| Move Cam Around                   | `\u003cMOUSE RIGHT\u003e`                   |\n| Toggle Cell State  (Edit Mode)    | `\u003cMOUSE LEFT\u003e`                    |\n\n\u003c/br\u003e\n\u003c/br\u003e\n\n## How To Build And Run It\nBefore you start, make sure you have the required dependencies for\nraylib installed. Refer to the official [raylib - build and installation\nguide](https://github.com/raysan5/raylib#build-and-installation) for\ninstructions on setting up the necessary environment.\n\n\u003c/br\u003e\n\n```\ngit clone https://github.com/mr-ema/zell-life\n```\n```\ncd ./zell-life\n```\n```\nzig build run\n```\n\n\u003c/br\u003e\n\u003c/br\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-ema%2Fzell-life","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmr-ema%2Fzell-life","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmr-ema%2Fzell-life/lists"}