Press space to go up. Don't touch any asteroids. It will be hard. Have fun! There is a secret to the game, but it makes the game more boring than it already is.
I give credit to osbock (supposedly the creator of Scratch) for teaching me to make projects like this.