{"id":24674087,"url":"https://github.com/jabolol/life","last_synced_at":"2026-05-02T05:04:55.551Z","repository":{"id":214785774,"uuid":"737352261","full_name":"Jabolol/life","owner":"Jabolol","description":"A Game of Life implementation that runs on the browser","archived":false,"fork":false,"pushed_at":"2024-01-01T18:43:00.000Z","size":154,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-21T18:03:42.005Z","etag":null,"topics":["deno","webassembly","zig"],"latest_commit_sha":null,"homepage":"https://gameoflife.deno.dev/","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jabolol.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-12-30T18:08:48.000Z","updated_at":"2023-12-30T21:51:33.000Z","dependencies_parsed_at":"2024-01-01T18:46:44.669Z","dependency_job_id":null,"html_url":"https://github.com/Jabolol/life","commit_stats":null,"previous_names":["jabolol/life"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Jabolol/life","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Flife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Flife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Flife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Flife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jabolol","download_url":"https://codeload.github.com/Jabolol/life/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jabolol%2Flife/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261170422,"owners_count":23119512,"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":["deno","webassembly","zig"],"created_at":"2025-01-26T11:15:04.512Z","updated_at":"2026-05-02T05:04:50.528Z","avatar_url":"https://github.com/Jabolol.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# life\n\nA [Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life)\nimplementation in `Zig` and `WebAssembly`.\n\n## installation\n\nMake sure you have both [`Zig`](https://ziglang.org/) and\n[`Deno`](https://deno.com) installed and on your `$PATH`.\n\n1. Clone the repository\n\n```bash\ngit clone https://github.com/Jabolol/life.git .\n```\n\n2. Build the `WebAssembly` file and\n   [`patterns.json`](./www/static/patterns.json) file using `zig`.\n\n```bash\nzig build\n```\n\n3. Navigate to the [`www/`](./www/) directory and start the website.\n\n```bash\ncd www \u0026\u0026 deno task start\n```\n\n## custom patterns\n\nCustom patterns consist of files in the [`assets/`](./assets/) directory. The\nformat of these files is as follows:\n\n```txt\n0 0 0 0 0 0\n0 0 1 1 0 0\n0 1 0 0 1 0\n0 0 1 1 0 0\n0 0 0 0 0 0\n```\n\nWhere `0` is a dead cell and `1` is a live cell. There is a space between each\ncell and a newline between each row.\n\nEvery time you change a file in the [`assets/`](./assets/) directory, you need\nto rebuild the [`patterns.json`](./www/static/patterns.json) file using `zig`.\nThe pattern is automatically centered on the canvas.\n\n```bash\nzig build\n```\n\n## contributing\n\nContributions are welcome. Please open an issue or a pull request. Please run\nthe following commands before opening a pull request, and ensure that they all\npass.\n\n```bash\n# zig specific commands\nzig fmt src\nzig fmt www/static/patterns.json\nzig test src/main.zig\nzig test src/pattern.zig\nzig build\n\n# deno specific commands\ndeno fmt www\ndeno lint www\n```\n\n## license\n\nThis project is licensed under the [MIT License](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabolol%2Flife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabolol%2Flife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabolol%2Flife/lists"}