{"id":29087944,"url":"https://github.com/programmingrainbow/asteroids-c-sdl2","last_synced_at":"2025-10-13T07:34:08.510Z","repository":{"id":299534974,"uuid":"1003345294","full_name":"ProgrammingRainbow/Asteroids-C-SDL2","owner":"ProgrammingRainbow","description":"Asteroids! written in C and using SDL2 game library. ","archived":false,"fork":false,"pushed_at":"2025-06-17T02:36:52.000Z","size":1568,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-12T19:33:19.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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,"zenodo":null}},"created_at":"2025-06-17T02:29:36.000Z","updated_at":"2025-06-17T02:37:22.000Z","dependencies_parsed_at":"2025-06-17T03:39:14.418Z","dependency_job_id":null,"html_url":"https://github.com/ProgrammingRainbow/Asteroids-C-SDL2","commit_stats":null,"previous_names":["programmingrainbow/asteroids-c-sdl2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ProgrammingRainbow/Asteroids-C-SDL2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FAsteroids-C-SDL2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FAsteroids-C-SDL2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FAsteroids-C-SDL2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FAsteroids-C-SDL2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProgrammingRainbow","download_url":"https://codeload.github.com/ProgrammingRainbow/Asteroids-C-SDL2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProgrammingRainbow%2FAsteroids-C-SDL2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014107,"owners_count":26085463,"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-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2025-06-28T02:08:10.547Z","updated_at":"2025-10-13T07:34:08.481Z","avatar_url":"https://github.com/ProgrammingRainbow.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Screenshot](screenshot.png)\n\n# Asteroids!\nEarn points by shooting all the Asteroids, But don't get hit. Points start out at 100 * level, but are reduced with each shot.\n\n# Build\nTo build the Asteroids binary you will need all build tools needed to compile via Makefile and gcc. You will also need SDL2, SDL2_image, SDL2_mixer and SDL2_ttf both the libraries and headerfiles.\n\n## ArchLinux instructions.\n\n    sudo pacman -S --needed base-devel\n    sudo pacman -S --needed sdl2 sdl2_image sdl2_mixer sdl2_ttf\n    make release run\n\nThe Makefile also supports these commands:\n```\nmake rebuild\nmake clean\nmake release\nmake debug\nSRC_DIR=Video8 make rebuild run\nCC=clang make clean release run\n```\n# Controls\nUp Arrow - Fires the main engines.\\\nRight Arrow - Rotates Clockwise.\\\nLeft Arrow - Rotates Anticlockwise.\\\nSpace Bar - Fires the main gun.\\\nEscape - Quits and closes game.\\\nW - Toggles Fullscreen.\\\nM - Toggles Music.\\\nF - Toggle FPS Display.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingrainbow%2Fasteroids-c-sdl2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprogrammingrainbow%2Fasteroids-c-sdl2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprogrammingrainbow%2Fasteroids-c-sdl2/lists"}