{"id":24065978,"url":"https://github.com/programmingrainbow/conways-game-of-life-cpp-sdl2","last_synced_at":"2025-10-25T10:41:38.795Z","repository":{"id":264526522,"uuid":"893590662","full_name":"ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL2","owner":"ProgrammingRainbow","description":"Conway's Game of Life written in C++ and using SDL2 game library.","archived":false,"fork":false,"pushed_at":"2025-02-02T14:51:34.000Z","size":467,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T18:52:53.431Z","etag":null,"topics":["cpp","cpp20","gameoflife","sdl","sdl2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProgrammingRainbow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-24T20:33:17.000Z","updated_at":"2025-02-02T14:51:37.000Z","dependencies_parsed_at":"2024-11-24T21:28:22.223Z","dependency_job_id":"7bc5f041-0b34-495d-98aa-eab440db0693","html_url":"https://github.com/ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL2","commit_stats":null,"previous_names":["programmingrainbow/conways-game-of-life-cpp-sdl2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammingRainbow","download_url":"https://codeload.github.com/ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273849474,"owners_count":25179164,"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","status":"online","status_checked_at":"2025-09-06T02:00:13.247Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","cpp20","gameoflife","sdl","sdl2"],"created_at":"2025-01-09T11:16:10.408Z","updated_at":"2025-10-25T10:41:33.752Z","avatar_url":"https://github.com/ProgrammingRainbow.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot](screenshot.png)\n\n# Conway's Game of Life (C++ - SDL2)\nConway's Game of Life is a classic cellular automaton devised by British mathematician John Horton Conway in 1970. It's a zero-player game, meaning its evolution is determined by its initial state, with no further input from humans. Despite its simplicity, the Game of Life exhibits complex and fascinating patterns.\n\n* If a dead cell has exactly three live neighbors, it becomes alive in the next generation.\n* If a live cell has two or three live neighbors, it remains alive in the next generation.\n* In all other cases, a cell dies or remains dead.\n\n# ArchLinux instructions.\n```\nsudo pacman -S --needed base-devel sdl2 sdl2_image sdl2_mixer sdl2_ttf\ncd\ngit clone https://github.com/ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL2\ncd Conways-Game-of-Life-Cpp-SDL2\nmake run\n```\nThe Makefile also supports these commands:\n```\nmake rebuild\nmake clean\nmake release\nmake debug\nSRC_DIR=Video8 make rebuild run\nCXX=clang++ make clean release run\n```\n# Controls\nUp Arrow - Speeds up the game.\\\nDown Arrow - Slows down the game.\\\nSpace Bar - Toggles game pauses.\\\nEscape - Quits the game.\\\nR - Resets and randomizes the board.\\\nC - Clears the board.\\\nF - Toggles display FPS.\\\nMouse Click - Toggles a cell on/off.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingrainbow%2Fconways-game-of-life-cpp-sdl2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammingrainbow%2Fconways-game-of-life-cpp-sdl2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingrainbow%2Fconways-game-of-life-cpp-sdl2/lists"}