Let's create a score board so the user can see their score.

  • Go to and drag out Variable Display.
  • The display's name is the word before the equals sign. Change it to score_board.
  • Change the name inside .Display() to score.

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

stage.set_background("schoolhallway") sprite = codesters.Sprite("person8") stage.set_gravity(4) stage.disable_floor() sprite.set_gravity_off() sprite.go_to(0, -220) score = 0
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)