Asteroids

A modernized version of the classic space shooter game featuring power-ups, dynamic difficulty scaling, and a competitive leaderboard.

Play Game
View All Projects

Project Gallery

About Asteroids Game

This Asteroids Game is a reimagined version of the classic space shooter, combining retro arcade aesthetics with modern gameplay enhancements. Players pilot a spaceship through an asteroid field, blasting space rocks while avoiding collisions and collecting power-ups to maximize their score.

Core Features:

  • Dynamic Difficulty: The game progressively gets harder as your score increases. At 400 points, asteroids move 15% faster, and at 1000 points, they speed up by an additional 10%.
  • Power-Ups: Enhance your gameplay with special power-ups including Triple Shot that lets you fire three bullets at once and Shield that provides temporary invulnerability.
  • Level Progression: Clear all asteroids to advance to the next level, with each level introducing more challenging asteroid patterns.
  • Game States: Enjoy a robust pause/resume system complete with a countdown, and a Game Over screen that allows high score entry with a leaderboard display.
  • Keyboard Controls: Use arrow keys or WASD for navigation, SPACE to shoot, and press 'P' to pause the game at any time.
  • Leaderboard System: Compete for the top high scores! High scores are saved locally, letting you immortalize your achievements.

Dive into the code to see how canvas rendering, game loops, collision detection, and user inputs come together to create this engaging space arcade experience. For more info, check out the Github