The buttons that move the ship are Q and E. The button that shoots is W. Don't let the astroids touch you or you will loose. If the aliens hit you, you loose. Check your time when you loose and share in the comments.
I learned how to make the ship shoot with the help of CrystalDiablo. Go look at his stuff for more cool games and ideas.