{"id":26363418,"url":"https://github.com/filippopaganelli/c-gol-raylib","last_synced_at":"2026-02-07T08:31:01.177Z","repository":{"id":259523180,"uuid":"866194466","full_name":"FilippoPaganelli/c-gol-raylib","owner":"FilippoPaganelli","description":"Interactive Game of Life Implementation in C using Raylib. ","archived":false,"fork":false,"pushed_at":"2024-10-25T22:56:40.000Z","size":942,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-05T12:41:21.282Z","etag":null,"topics":["c","cgraphics","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/FilippoPaganelli.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":"2024-10-01T20:06:42.000Z","updated_at":"2024-10-25T22:56:43.000Z","dependencies_parsed_at":"2024-10-26T07:14:14.596Z","dependency_job_id":"118a4b09-911f-4081-8062-41223228bd6d","html_url":"https://github.com/FilippoPaganelli/c-gol-raylib","commit_stats":null,"previous_names":["filippopaganelli/c-gol-raylib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FilippoPaganelli/c-gol-raylib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoPaganelli%2Fc-gol-raylib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoPaganelli%2Fc-gol-raylib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoPaganelli%2Fc-gol-raylib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoPaganelli%2Fc-gol-raylib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FilippoPaganelli","download_url":"https://codeload.github.com/FilippoPaganelli/c-gol-raylib/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FilippoPaganelli%2Fc-gol-raylib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29190165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T07:37:03.739Z","status":"ssl_error","status_checked_at":"2026-02-07T07:37:03.029Z","response_time":63,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","cgraphics","gameoflife","raylib"],"created_at":"2025-03-16T18:27:40.533Z","updated_at":"2026-02-07T08:31:01.161Z","avatar_url":"https://github.com/FilippoPaganelli.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Interactive Game of Life Implementation in C using Raylib.\n\nThis is an implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) written in C, using [Raylib](https://www.raylib.com/) for the graphics.\nThe canvas is initialised with a simple [Glider](https://conwaylife.com/wiki/Glider), or with a saved state from the file argument.\n\n### TODO:\n\n- [x] Load state from file\n- [x] Save state to file\n- [x] Show events notification (e.g. on file save or error)\n- [x] Add key command to randomly generate a state\n- [ ] Allow mouse dragging in DRAW mode (?)\n\n### Compile and Run:\n\n```console\nmake\n./gol [\"state.gol\"]\n```\n\nBefore compiling, install [Raylib](https://www.raylib.com/).\n\n### Controls:\n\n- (d): enter DRAW mode and use mouse to spawn/kill cells on the canvas\n- (SPACE): save current state in a checkpoint and PLAY/PAUSE the simulation\n- (w): REWIND to the state saved in the checkpoint\n- (r): RESET to an empty canvas\n- (R): populate the canvas with a random state\n- (S): SAVE the current state to a file (`state.gol`) to load it in a future session\n\n### Video demo:\n\nhttps://github.com/user-attachments/assets/49c6b381-5d6d-41de-be87-2e272576a6e5\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippopaganelli%2Fc-gol-raylib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilippopaganelli%2Fc-gol-raylib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippopaganelli%2Fc-gol-raylib/lists"}