{"id":38244260,"url":"https://github.com/bborbe/space-invaders","last_synced_at":"2026-01-17T01:21:25.192Z","repository":{"id":331320321,"uuid":"1126162825","full_name":"bborbe/space-invaders","owner":"bborbe","description":"Classic Space Invaders arcade game with waves and leaderboard","archived":false,"fork":false,"pushed_at":"2026-01-01T09:46:33.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-06T06:13:40.482Z","etag":null,"topics":["arcade","canvas","game","html5-game","javascript","space-invaders"],"latest_commit_sha":null,"homepage":"https://bborbe.github.io/space-invaders/","language":"HTML","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/bborbe.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-01T09:17:42.000Z","updated_at":"2026-01-01T09:58:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bborbe/space-invaders","commit_stats":null,"previous_names":["bborbe/space-invaders"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/bborbe/space-invaders","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fspace-invaders","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fspace-invaders/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fspace-invaders/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fspace-invaders/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bborbe","download_url":"https://codeload.github.com/bborbe/space-invaders/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bborbe%2Fspace-invaders/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28491392,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["arcade","canvas","game","html5-game","javascript","space-invaders"],"created_at":"2026-01-17T01:21:24.215Z","updated_at":"2026-01-17T01:21:25.184Z","avatar_url":"https://github.com/bborbe.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Space Invaders\n\n**Play online:** https://bborbe.github.io/space-invaders/\n\nA classic Space Invaders arcade game built with vanilla JavaScript, HTML5 Canvas, and CSS. Defend Earth from waves of alien invaders!\n\n## Features\n\n- **Classic Arcade Gameplay**: Shoot aliens before they reach the ground\n- **5 Alien Types**: Different shapes, colors, and point values\n- **Progressive Waves**: 10 waves with increasing difficulty and speed\n- **UFO Bonus Targets**: Random mystery ships for extra points (50-300)\n- **Destructible Shields**: 4 shields that protect you from alien bombs\n- **Lives System**: 3 lives to survive all waves\n- **Enemy AI**: Aliens drop bombs randomly and speed up as numbers decrease\n- **Score Tracking**: Leaderboard with localStorage persistence\n- **Pause/Restart**: Pause gameplay and restart anytime\n- **Victory Detection**: Beat all 10 waves to win\n- **Retro CRT Aesthetic**: Classic green terminal styling\n\n## How to Play\n\n1. Open `index.html` in a web browser\n2. Use **arrow keys** to move your ship\n3. Press **Space** to shoot\n4. Destroy all aliens before they reach the bottom\n5. Survive all 10 waves to achieve victory\n\n## Controls\n\n- **← →**: Move ship left/right\n- **Space**: Shoot\n- **P** or **Esc**: Pause/unpause game\n- **R**: Restart game\n\n## Gameplay Rules\n\n- You start with **3 lives**\n- Aliens move side-to-side and descend when hitting screen edges\n- Aliens randomly drop bombs\n- Shields absorb damage from both bullets and bombs\n- Lose a life if hit by alien bomb\n- Game over if aliens reach the ground or you lose all lives\n- Victory after completing wave 10\n\n## Scoring System\n\nAliens award different points based on row type:\n- **Row 1 (Top)**: 30 points (Red - Octopus)\n- **Row 2**: 20 points (Orange - Crab)\n- **Row 3**: 20 points (Yellow - Crab)\n- **Row 4**: 10 points (Green - Squid)\n- **Row 5 (Bottom)**: 10 points (Cyan - Squid)\n\n**UFO Bonus**: 50, 100, 150, or 300 points (random)\n\n**Total possible score per wave**: 880 points (55 aliens)\n\n## Technical Details\n\n- **Canvas Size**: 800x600 pixels\n- **Player Ship**: 50x30 pixels\n- **Aliens**: 40x30 pixels, 5 rows × 11 columns\n- **Bullet Speed**: 8 pixels per frame\n- **Alien Bomb Speed**: 4 pixels per frame\n- **Wave Progression**: Speed increases 20% per wave, move interval decreases 3 frames\n- **No Dependencies**: Pure vanilla JavaScript\n\n## Game Architecture\n\nThe game follows a modular architecture pattern:\n\n- **Game State Module**: Manages state, collision detection, wave progression, scoring\n- **Renderer Module**: Handles all canvas drawing (aliens, player, bullets, shields, UFO)\n- **Input Handler Module**: Processes keyboard input\n- **Game Loop**: Uses requestAnimationFrame for smooth 60fps gameplay\n\n## Browser Compatibility\n\nWorks in all modern browsers supporting:\n- HTML5 Canvas\n- ES6 JavaScript\n- localStorage API\n\n## Development\n\nBuilt following the same architectural patterns as the companion Tetris, Snake, Breakout, and Pacman games.\n\n## License\n\nFree to use and modify.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborbe%2Fspace-invaders","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbborbe%2Fspace-invaders","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbborbe%2Fspace-invaders/lists"}