Press up and down to move the spaceship, press space to fire. Don't get hit by the rocks or use up your bullets too fast!
From "20 Games to Create With Scratch" by Max Wainewright. I added the limit of bullets and timer.