Back to Activities

Activity

Code the Robot: Reach the Charger

Can you write a program that gets the robot home without bumping into a rock?

  • 30 min
  • Beginner
  • Ages 6-7

Overview

Be the robot! Follow arrow commands across a floor grid, then write your own program to reach the charger and fix it when it goes wrong.

What you will learn

  • Give a robot step-by-step instructions using direction commands.
  • Test a program and find the step that went wrong (debugging).
  • Understand that there can be more than one program that works.

Skills you will use

Sequencing · Debugging · Directional language · Computational thinking