Arrow keys.
Changes from @Dinolover123's version: *Added X velocity so that the spacecraft doesn't always move in the direction it's facing *Fixed the annoying flickery rockets *When the rocket goes off one end of the screen, it comes onto the other end