moving spaceship and hit detection