STEP 11: The player will use the arrow keys to move the rocket.

  • Go to and drag Up Key to the bottom of your program, outside of the loop.
  • Change the name in front of the .move_up() command to spaceship.
  • Click Run and press the Up arrow key to test your program.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)