Left or right arrows or A and D to move. Avoid being hit by a spike for as long as possible.
The spaceship sprite was taken from my earlier game 'Moving Platforms' which was taken from the project '1 hour game' by chipm0nk.