We're sorry but this app doesn't work properly without JavaScript enabled. Please enable it to continue.

This lesson's interactive features are locked, please to keep using them

Submit Your Repo

You've done it!

Once you're satisfied with your game, push it to a public Git repository, then submit the link to your project! Submit a public HTTPS Git clone URL, for example: https://github.com/github-username/repo-name.

I hope you've enjoyed this project. It's always good to solidify the things you learn in courses by getting your hands dirty building something "real."

Extending the Project

You've done all the required steps, but if you'd like to make the game your own, here are some ideas:

  • Add a scoring system
  • Implement multiple lives and respawning
  • Add an explosion effect for the asteroids
  • Add acceleration to the player movement
  • Make the objects wrap around the screen instead of disappearing
  • Add a background image
  • Create different weapon types
  • Make the asteroids lumpy instead of perfectly round
  • Make the ship have a triangular hitbox instead of a circular one
  • Add a shield power-up
  • Add a speed power-up
  • Add bombs that can be dropped

Have fun with it, and make sure to share any improvements that you make with us in the Discord!