Fly using the W (to go up), A (to go left), S (to go down), and D (to go right) keys. Use the spacebar to shoot energy blast towards the asteroids; the blasts are shot towards the mouse-pointer. If you are hit by an asteroid, the game stops (game over). When you're not shooting any asteroids, your score will decrease by 1 until it reaches 0 and time is over.
I used the Asteroid Breaker tutorial found on "https://inventwithscratch.com/book/chapter8.html" to create this project. Leslie Rodriguez