{"id":18736852,"url":"https://github.com/bitwizeshift/space-breakers","last_synced_at":"2026-06-23T16:32:06.663Z","repository":{"id":81485494,"uuid":"50865585","full_name":"bitwizeshift/Space-Breakers","owner":"bitwizeshift","description":"A Space Invaders-meets-Brick Break game I created with SDL2. ","archived":false,"fork":false,"pushed_at":"2021-10-31T05:22:05.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T08:55:04.897Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitwizeshift.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":"2016-02-01T19:40:45.000Z","updated_at":"2021-10-31T05:22:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"4411b1bf-e0ae-487e-b0c8-147318108d11","html_url":"https://github.com/bitwizeshift/Space-Breakers","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitwizeshift/Space-Breakers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwizeshift%2FSpace-Breakers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwizeshift%2FSpace-Breakers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwizeshift%2FSpace-Breakers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwizeshift%2FSpace-Breakers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitwizeshift","download_url":"https://codeload.github.com/bitwizeshift/Space-Breakers/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwizeshift%2FSpace-Breakers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34698687,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"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":"2024-11-07T15:22:44.182Z","updated_at":"2026-06-23T16:32:06.644Z","avatar_url":"https://github.com/bitwizeshift.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SDL2 Space-Breakers\n\nThis is a small Space-Invaders-meets-Brick Break game I created for fun.\nIt's written in C++11 using SDL2 for rendering and graphics.  The object of the\ngame is simple; survive while destroying the invaders. The invaders will shoot\nprojectiles, and it is your job to attempt to deflect them by bouncing them off\nthe paddle and back at them. You gain points for properly deflecting attacks and\ndestroying invaders.\n\nYou begin with 10 health, and slowly lose it each time you miss a projectile.\nAt the end of each level, you earn back 2 times the level difficulty life back\nin preparation for the next level (i.e. if you pass level 1 you get 2 health,\nif you pass level 2 you get 4 health, etc).\nPoints are also multiplied by the level.\n\n![Preview](docs/preview.png)\n\n## Controls\n\n* \u003ckbd\u003eLeft\u003c/kbd\u003e or \u003ckbd\u003eA\u003c/kbd\u003e: Move paddle left\n* \u003ckbd\u003eRight\u003c/kbd\u003e or \u003ckbd\u003eD\u003c/kbd\u003e: Move paddle left\n* \u003ckbd\u003eESC\u003c/kbd\u003e: Pause / Unpause\n* \u003ckbd\u003eShift\u003c/kbd\u003e: Move faster\n\n## Compilation\n\n### Dependencies\n\nThis project requires [SDL2](https://www.libsdl.org/) to compile along with the\nadditional components `SDL2_ttf`, `SDL2_mixer`, and `SDL2main`.\n\n#### Ubuntu\n\nOn Ubuntu, this can be installed with\n\n```bash\nsudo apt install -y libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev\n```\n\n### Building\n\nThe project can be built with CMake by generating a project followed by building\nit:\n\n```bash\nmkdir build\ncd build\ncmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=\"\u003cwhere to install\u003e\"\ncmake --build .\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwizeshift%2Fspace-breakers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitwizeshift%2Fspace-breakers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwizeshift%2Fspace-breakers/lists"}