Page 95 - Dig_CodeAI_V2.1_Class_4
P. 95
10 Right-click on the
pipe and select Rotate.
11 Increase the value
to rotate the pipe.
We now want to add programming to our first cycle so that when it bumps into the pipe, it
wins the race.
12 Add the
following code.
Click on the Play button to play the game. Use the WASD keys to make the cycle move. You
win when you bump the pipe. Enjoy!
Click on the Home button, and then click on Save My World to save this game.
Critical Thinking
code Quest Information Literacy
1. Which sign is used to code your bot?
2. What is the use of the "Save My World" option?
Introduction to Kodu Game Lab 93

