mBot D4 - Loops: Robot Dodge Ball!
Description:Concepts: Students are introduced to another feature of loops: that one’s program can be slightly different each time it repeats. Students are introduced to randomization in programming. Activity: Students incorporate randomization into a looped sequence to have their mBot avoid being hit by human-tossed ping-pong balls!
For students to discover that looped sequences can change with each time they repeat
For students to use an iterative approach to problem-solving and design
For students to get creative and use loops in a new way