{"id":28277244,"url":"https://github.com/codewithjazmine/asteroids","last_synced_at":"2025-10-19T02:01:33.316Z","repository":{"id":293502437,"uuid":"984249815","full_name":"CodeWithJazmine/Asteroids","owner":"CodeWithJazmine","description":"A classic Asteroids-style shooter built with Python and Pygame. Navigate, shoot, and dodge your way through an asteroid field. Built as part of a Boot.dev Python challenge.","archived":false,"fork":false,"pushed_at":"2025-05-16T20:10:48.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-28T05:17:24.426Z","etag":null,"topics":["asteroids","game-development","pygame","python"],"latest_commit_sha":null,"homepage":"","language":"Python","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/CodeWithJazmine.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-05-15T16:16:12.000Z","updated_at":"2025-05-16T20:10:52.000Z","dependencies_parsed_at":"2025-05-15T17:52:07.016Z","dependency_job_id":null,"html_url":"https://github.com/CodeWithJazmine/Asteroids","commit_stats":null,"previous_names":["codewithjazmine/asteroids"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CodeWithJazmine/Asteroids","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithJazmine%2FAsteroids","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithJazmine%2FAsteroids/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithJazmine%2FAsteroids/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithJazmine%2FAsteroids/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWithJazmine","download_url":"https://codeload.github.com/CodeWithJazmine/Asteroids/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWithJazmine%2FAsteroids/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260527007,"owners_count":23022670,"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":["asteroids","game-development","pygame","python"],"created_at":"2025-05-21T06:15:22.208Z","updated_at":"2025-10-19T02:01:33.293Z","avatar_url":"https://github.com/CodeWithJazmine.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Asteroids\n\u003cimg width=\"1271\" alt=\"Screenshot 2025-05-16 at 12 14 54 PM\" src=\"https://github.com/user-attachments/assets/b713039c-3210-4a62-be38-f95765b67e05\" /\u003e\n\n**Asteroids** is a classic arcade-style shooter game recreated using Python and Pygame. Players control a spaceship that can rotate, thrust forward, and fire shots to destroy drifting asteroids in space. The game features responsive controls, real-time collision detection, and modular code architecture to support future gameplay expansion.\n\nThis project was developed as a solo challenge to reinforce core Python concepts and explore game development using Pygame. It helped strengthen my understanding of game loops, object-oriented programming, and 2D physics systems.\n\n## Gameplay\n\n- Rotate the ship with the **left/right arrow keys**\n- Thrust forward with the **up arrow key**\n- Fire shots with the **spacebar**\n- Avoid and destroy the asteroids to survive!\n\n\n\nhttps://github.com/user-attachments/assets/cc043b7c-7e64-4db7-a10a-40beacd2ef57\n\n\n\n## Tech Stack\n\n- Python 3.9+\n- Pygame 2.6.1\n- VS Code\n\n## How to play\n\n### 1. Clone the Repository\n\n```bash\ngit clone https://github.com/CodeWithJazmine/Asteroids.git\ncd Asteroids\n```\n### 2. Install dependencies\n\n```bash\npip install -r requirements.txt\n```\n\n### 3. Run the game\n\n```\npython main.py\n```\n\n## Key Features\n\n- Modular, object-oriented architecture\n- Smooth 2D movement and circular collision detection\n- Separate systems for player movement, shooting, and asteroid spawning\n- Reusable CircleShape class for accurate collisions\n\n## Planned Features\n\n- [ ] Add a scoring system\n- [ ] Multiple lives with respawning\n- [ ] UI elements for score and lose condition\n\n### Boot.dev Project\nBuilt as part of a Python coding challenge on [Boot.dev](https://boot.dev/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithjazmine%2Fasteroids","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithjazmine%2Fasteroids","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithjazmine%2Fasteroids/lists"}