WASD keys to move. Mouse cursor to aim. Space to fire. You get 2 points each time you hit an asteroid. You lose 1 point each second. Game is over if you get hit by an asteroid or your score reaches 0. Your ship is slightly unstable and will push itself in random directions sometimes.
Learn to program games with this free online Scratch course: https://inventwithscratch.com/class