Activity 2: Light Robot

Now we will be using the light feature in the IRobot

Step 1:

Go to the coding environment using the link

Step 2:

Go to level 3 of the coding its in the bottom left

Step 3:

When the robot is moving its colour is green

Add these commands:

You press the play button to move it

Step 4:

When you click on the robot it stops moving and the colour changes to red

These are the commands:

This will change it to red when its not moving

Your Task:

Make a lap around the square where it changes its colour to yellow when it turns left and orange when it turn right you have to add some stop’s and go’s