Exercice : Mini Challenge

Mini Challenge 3: Smarter decisions challenge

Question

Enhance your program by adding the following features:

  1. Audio Feedback

    • Make the robot say, "Forward" any time it decides to move forward

    • Make the robot say, "Right" any time it decides to turn right

  2. Limited Duration

    • The robot may get stuck. Make the program end after it has performed 10 moves in total.

Indice

Hint 1: Audio Hint. You can find both the “Forward” and “Right” sound files under the “Information” folder in the Play Sound Block

Indice

Hint 2: Limited Duration Hint. You need to limit the behavior so that it only runs 10 times. Which part of the program controls the number of times the behavior repeats?