You have to hit asteroids before the time is out. Arrow keys to move. Space to shoot.To make it harder the spaceship moves on its own a little bit
I made it from Scratch Programming Playground by Al Sweigart.