Quest 11 of 22

Collect and Score

Collect a coin and let the score show what happened.

About 20 min 25 XP

You’ll learn

  • Track score
  • Collect each coin once
  • Reset the score

Quest steps

  1. Place three coins where the player can reach them. Start the score at zero.
  2. Hide each coin when collected and add one point.
  3. Return to the same spot to check that it cannot score twice. Start a new game and check that the coins return.
Say to Genie
When the player touches a visible coin, hide that coin and add one to the score. Reset coins and score on a new game.