Looped Decision
Check Your Understanding:
Question 1
What happens when you place a Switch inside a Loop?
Votre choixChoix attenduRéponse
Question 2
When a Switch is placed inside a Loop...
Votre choixChoix attenduRéponse
Maze Runner
The simple behavior you wrote in the video can be used as a very simple maze solver!
Build a maze for the robot, made up of square floor tiles.
If you don't have floor tiles, use 30 cm squares.
Adjust your Forward movement to go one tile per movement, rather than 3 rotations.
What happens?