v07.0 Scroll down for version history and new features list. How to play: You are Commander Asteroid. Your Mission: Fly your cargo through a dangerous asteroid belt. You can control your rocket with the arrow keys, or you can use A & D. To blast an asteroid out of your way, click or press space. Be careful though! Larger asteroids will explode into smaller pieces when hit. Keep an eye out for green energy shields. Shooting them gives you 3 shield hitpoints. You can see how many shield hitpoints you have on the bottom of your display. If you get hit by an asteroid while you have a shield, you lose 1 shield hitpoint - no matter how big the asteroid is. Every second you stay alive gives you points. It takes a certain number of points to get to the next level. The number of points you need to progress to the next level is the target score. The target score gets bigger every time you start a new level. Hidden in the asteroid shower are coins and diamonds. When you hit one, it gives you a certain amount of coins: Diamond: Shoot with laser: 10 coins Hit with rocket: 5 coins Coin: Shoot with laser: 3 coins Hit with rocket: 1 coin When you lose all of your health, your rocket will explode and the game is over. The number of coins you have will be multiplied by 1000 and added to your score. Other Controls: P: pause M: music on/off S: sound effects on/off new features in 0.7.0: added coins added diamonds new display for shield hitpoints new scoring system new gameover text animation 0.6.2: Fixed minor bug the the highscore holder display 0.6.0: added health bar added and revised sound effects upgraded level and score display removed level score updated description added music added highscorer function. Whoever has the highscore will be recognized in the game. 0.5.0: better animations rocket explodes when you run out of health game over text 0.4.0: changed movement controls made movement more realistic 0.3.1: added orange bullets 0.3.0: Larger asteroids explode into smaller asteroids when shot. Larger asteroids on average 0.2.0: Added shields and shield hitpoints Added streak Added blue and green bullets 0.1.0: Released Khanacademy version at https://www.khanacademy.org/computer-programming/astroid-command/6199590572916736
Username encoder by @SFollis Diamond graphic by @DandB1 Text engine by @KryptykProductions All other scripts by me.