Use the left and right arrow keys to rotate the spaceship. Use the up arrow key to accelerate. The program is intended to be a simulator with a small planet with some gravity. The physics is not terribly realistic but illustrates the basic concept. Interesting results could be obtained by tweaking the constants, among other things.