STEP 17: Our game is finished! Let's make some changes that increase the difficulty level each time we play again.

  • From LOGIC and , drag out Multiply By so that it's at the bottom of the while loop.
  • Change the variable name from my_var to timer and change the value from 2 to 0.8.

Multiplying timer by 0.8 reduces the amount of time to click each sprite by 20% each time the loop runs!

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)