STEP 5: Let's continue to set up the game. Next we need to add a player that you will control!

  • Go to and drag in Define Function. Place it between set_stage() and main().
  • Rename the new function to add_player(). Make sure the new function definition is not indented!
  • Next, drag Docstring into the new function so that it's indented on the first line.
  • Edit the docstring to say """ Adds a player to the stage for the user to control """.

def set_stage(): """ Sets up the stage for the game """ stage.set_background("soccerfield") stage.disable_floor() def main(): """ Sets up the program and calls other functions """ set_stage() main()