{"id":26157992,"url":"https://github.com/programmingrainbow/conways-game-of-life-cpp-sdl3","last_synced_at":"2025-08-28T23:44:35.243Z","repository":{"id":281533480,"uuid":"945560904","full_name":"ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL3","owner":"ProgrammingRainbow","description":"Conway's Game of Life written in C and using SDL£ game library. ","archived":false,"fork":false,"pushed_at":"2025-03-09T18:19:13.000Z","size":476,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-09T19:21:10.318Z","etag":null,"topics":["cpp","cpp20","gameoflife","sdl","sdl-image","sdl-ttf","sdl3","sdl3-image","sdl3-ttf"],"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":"2025-03-09T17:55:20.000Z","updated_at":"2025-03-09T18:19:16.000Z","dependencies_parsed_at":"2025-03-09T19:21:11.558Z","dependency_job_id":"583e9fd0-8e1e-4925-a8e7-29c9ed95eca5","html_url":"https://github.com/ProgrammingRainbow/Conways-Game-of-Life-Cpp-SDL3","commit_stats":null,"previous_names":["programmingrainbow/conways-game-of-life-cpp-sdl3"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FConways-Game-of-Life-Cpp-SDL3/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-SDL3/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243015513,"owners_count":20222091,"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":["cpp","cpp20","gameoflife","sdl","sdl-image","sdl-ttf","sdl3","sdl3-image","sdl3-ttf"],"created_at":"2025-03-11T10:30:38.142Z","updated_at":"2025-03-11T10:32:12.206Z","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++ - SDL3)\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.\nYou will need to make sure SDL3, SDL3_image, and SDL3_ttf is installed.\n```\nsudo pacman -S --needed base-devel sdl3\n```\n```\ncd\ngit clone https://aur.archlinux.org/sdl3_image-git.git\nsdl3_image-git\nmakepkg -i\n```\n```\ncd\ngit clone https://aur.archlinux.org/sdl3_ttf-git.git\nsdl3_ttf-git\nmakepkg -i\n```\n```\ncd\ngit clone https://github.com/ProgrammingRainbow/Conways-Game-of-Life-C-SDL3\ncd Conways-Game-of-Life-C-SDL3\nmake run\n```\nThe Makefile supports these commands:\n```\nmake rebuild\nmake clean\nmake release\nmake debug\nSRC_DIR=Video6 make rebuild 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-sdl3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammingrainbow%2Fconways-game-of-life-cpp-sdl3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingrainbow%2Fconways-game-of-life-cpp-sdl3/lists"}