{"id":25063839,"url":"https://github.com/pacatro/raylife","last_synced_at":"2026-02-18T00:03:51.992Z","repository":{"id":267718634,"uuid":"902095233","full_name":"Pacatro/raylife","owner":"Pacatro","description":"A simple implementation of the Conway's Game of Life using raylib.","archived":false,"fork":false,"pushed_at":"2025-02-12T17:13:15.000Z","size":5943,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-08T17:49:04.240Z","etag":null,"topics":["c","docker","game-development","gameoflife","raylib"],"latest_commit_sha":null,"homepage":"","language":"C","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/Pacatro.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,"zenodo":null}},"created_at":"2024-12-11T22:34:29.000Z","updated_at":"2025-02-12T17:13:19.000Z","dependencies_parsed_at":"2025-05-07T18:47:17.031Z","dependency_job_id":null,"html_url":"https://github.com/Pacatro/raylife","commit_stats":null,"previous_names":["pacatro/raylife"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Pacatro/raylife","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fraylife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fraylife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fraylife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fraylife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pacatro","download_url":"https://codeload.github.com/Pacatro/raylife/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pacatro%2Fraylife/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265614275,"owners_count":23798420,"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":["c","docker","game-development","gameoflife","raylib"],"created_at":"2025-02-06T18:54:10.356Z","updated_at":"2026-02-18T00:03:51.988Z","avatar_url":"https://github.com/Pacatro.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RayLife\n\nA simple implementation of the [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) using [raylib](https://www.raylib.com/).\n\n## 🎮 Controls\n\n- **Mouse wheel**: zoom in/out\n- **Space Key**: toggle between play and draw modes (If the number of generations exceeds the maximum, step to the next generation)\n- **Left mouse button**: toggle cell\n- **Right mouse button**: move camera\n- **Up Arrow**: Increase generation interval\n- **Down Arrow**: Decrease generation interval\n- **R Key**: reset all\n\n## 🖥️ Build locally\n\nYou must have [raylib](https://www.raylib.com/) installed.\n\n1. Clone the repository\n\n    ```bash\n    git clone https://github.com/Pacatro/raylife.git\n    cd raylife/\n    ```\n\n2. Run `make`\n\n    ```bash\n    make\n    ```\n\n3. Run `./raylife`\n\n    ```bash\n    ./raylife \u003cgenerations\u003e # default: 500\n    ```\n\n## 🐳 Docker\n\nYou can use the [Dockerfile](./Dockerfile) to build a Docker image with the project.\n\n1. Build the image\n\n    ```bash\n    docker build --tag raylife .\n    ```\n\n2. Run the image\n\n    ```bash\n    xhost +local:docker\n    docker run -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix raylife\n    ```\n\n## 🎥 Example\n\nHere’s a preview of the game:\n\n![RayLife GIF](./screenshots/gif_raylife.gif)\n\n## 🔑 License\n\n[MIT](https://opensource.org/license/mit/) - Created by [**Paco Algar**](https://github.com/Pacatro).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacatro%2Fraylife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpacatro%2Fraylife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpacatro%2Fraylife/lists"}