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!
Objectives
1. For students to discover that looped sequences can change with each time they repeat
2. For students to use an iterative approach to problem-solving and design
3. For students to get creative and use loops in a new way
Curriculum Connections Summary
- Ontario - Mathematics - Algebra (Coding)
- British Columbia - ADST
- Alberta - ICT
- Nova Scotia - ICT
Find Out More
mbot is the best of both worlds, transitioning students from Scratch Blocks to Text Code