Skip to content
ROBOTICS · GRADES 1–7 · 20 MIN

Program a robot

Build a program from blocks to steer a robot through twelve mazes, then use loops and its sensor to do more with less.

The activity

LEVELS

0 OF 12 SOLVED · 0 OF 36 STARS

LEVEL 1 OF 12

First steps

Drive the robot to the flag.

New idea. A robot does exactly what it is told, one block at a time, in order. Add Forward blocks, then press Run.

READ THE MAZE AS TEXT
  1. Row 1: wall, wall, wall, wall, wall.
  2. Row 2: robot facing right, open, open, open, flag.
  3. Row 3: wall, wall, wall, wall, wall.

Add blocks to build a program, then press Run.

ADD A BLOCK

Goes at the end of the program

YOUR PROGRAM · 0 BLOCKS

No blocks yet. Tap a block above to add it here.

What you'll practise

  • Giving instructions in the right order
  • Finding patterns and using loops
  • Using a sensor to decide
  • Finding and fixing mistakes

For teachers and parents

Younger learners can act out the first levels: one learner is the robot, another reads the blocks aloud. Use Step to trace a program one block at a time, and ask learners to predict where the robot will be before they press it.

In the curriculum

South Africa's Coding and Robotics CAPS for Grades 4 to 6, which schools are phasing in from 2026 to 2032, asks learners to write and debug instructions with sequences, single repetition and simple conditionals, as these levels do. Source (PDF)

Part of Teachist's Robotics and programming program