Step 3: Adding the First Rating


We’ve now completed the core mechanic of this game! However, we still don’t have any ratings yet to show our player how well they’ve done.

Let’s add the first rating when the power is less than 50.


  1. Select the “Sprite1” sprite
  2. From Events place a “when I receive” block
  3. Change the message to be “PumpkinSmashed!
  4. From Control place an if then block
  5. From Operators place a < (less than) block inside the if then block
  6. From Data place “Power:” inside the left side of the < block
  7. Type in 50 on the right side of the < block
  8. From Looks place a show block inside the if then block