W to jump Time your jumps to void getting hit and dodge all the space rocks
pretty easy to make only takes a couple minutes. Adjust some sprites, add some code and a background plus the variable and you have a game.