STEP 4: Let's create a random number that the player will have to guess.

We'll be able to see the value of the random number so that we can test our program out - we'll hide it later!

  • Click the LOGIC tab. Go to and drag out Random Integer.
  • Drag out Variable Display.
  • Every time you click Run, the program creates and displays a new random number!

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)