Use WASD or arrow keys to move the rocket. The rocket ship will always point at the mouse pointer. Press space of use you mouse for shooting.
Credits to @griffpatch for the tutorial.