Instructions

Intro to Coding for Kids

Previous
level 2
Next

Move right and left in Relative Mode

Before Billy asks his mom if she has seen Pip, the mom asks Billy to go and pick up the cookbook and bring it to her. Billy can move straight but he cannot yet turn to his right or left. Billy needs to be able to turn because otherwise he cannot see what is on his left, his right, or behind him.

Close your eyes and pretend to be Billy. Now turn to the right. Do it again, and again. What did you just do? You turned completely around. You can also do this by turning to the left.

Cool, right? So now let's give Billy the ability to turn right.

Make a new rule. Do you remember how to make a new rule?

Use the 'd' key as your Condition. Then add the rotate-right action.

Let’s add the ‘rotate left’ rule. Just repeat the same steps you made as in the ‘rotate-right’ rule, but use the 'a' key.

Go explore the world!

? Help
Congratulations!
Level 1 Complete
COMPLETE CHAPTER
Sign Up
Continue
OK!