Work wonders with iRobot’s Root® coding robots. Shop now >

View All Materials

Lesson:

Learn to Code Level 1: Unit 4

Coding,

Robotics

Experience Level

N/A

Duration

60+ minutes

Group Size

Full Classroom (20+)

Compatible Robots

Root rt0 Coding Robot

Root rt1 Coding Robot

Details

The focus is World 4 is understanding how to control the flow of your code projects using loops with the Repeat Block and parallelism with multiple When Play Blocks. Learners will practice their coding skills by looping music, creating infinite rainbows, building a light show with nested repeats, and designing shape wheels. Finally, coding skills will be put to the test with a game that interrupts infinite loops.

Downloads & Resources

Unit 4: Root's Loops

Unit Lessons & Projects

Lesson 4.1 | Make Music with Repeats. . . . . . . . . . . . . . . . . . . . .134

Lesson 4.2 | Infinite Rainbow. . . . . . . . . . . . . . . . . . . . . . . . . . . . .138

Project 4.1 | The Multi-Tasker. . . . . . . . . . . . . . . . . . . . . . . . . . . . .142

Lesson 4.3 | Flashing Colors with Nested Repeats . . . . . . . . . . .146

Lesson 4.4 | Drawing a Square. . . . . . . . . . . . . . . . . . . . . . . . . . . .150

Project 4.2 | Drawing Shape Wheels . . . . . . . . . . . . . . . . . . . . . . .154

Project 4.3 | Wheel of Coding. . . . . . . . . . . . . . . . . . . . . . . . . . . . .158