PREVIEW: Today we'll be creating a game that has more than one turn! We will use a loop to give the player more than one attempt at beating the game.

  • Click Run and then try to guess the computer's number.
  • When you're finished click Submit and Next to continue.

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)