top of page

YOU NEED THE ULTRA SONIC SENSOR FOR THIS LESSON!!!!!!!!!!!

Complete lessons on the App

5-Wait

6-Judgement

7-Conditions

 

          Challenge #2 

​

a)Create a Maze using books

b)have your robot navigate the maze

c)use the if else function

d)how fast can you so it!

​

​

​

 

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

 

 

 

 

 

 

 

 

 

 

 

 

 

 

​

Create the maze

Start with the forever block with the if then else block inside it

Next add an operator(Math block) that will tell the Mbot to turn when it is a certain distance from the book

your distance from an obstacle

put this inside the math block

You are doing awesome, now you will need to figure out the rest! A hint......you will need to use another if then block to complete the code to make your robot turn in a different direction

bottom of page