Unplugged Coding Robot Game

Learn how coding works without a screen — write step-by-step instructions to guide a 'robot' family member across a grid to a target.

Ages
6–12
Time
About 40 min
Subject
Maths, Science & STEM
Difficulty
easy
Where
Indoor or outdoor
Who
Family

What children will learn

  • Write a precise sequence of instructions (an algorithm) to reach a goal
  • Use direction and turning language: forward, left turn, right turn
  • Find and fix mistakes in a program (debugging)

You'll need

  • This page printed, or a 5 × 5 grid drawn on paper
  • A small toy or coin to use as the robot on paper
  • Masking tape, chalk or tea towels to mark a large floor grid (optional)
  • Paper and a pencil for writing programs

Safety first

  • Clear the floor grid of toys, furniture corners and trip hazards before a person plays the robot.
  • Robots walk slowly and stop if they are about to bump into something real.

How to do it

  1. Agree on the robot's commands and write them as symbols: ↑ = move forward one square, ↰ = turn left on the spot, ↱ = turn right on the spot. The robot can only do exactly what it is told.
  2. Place the robot (a toy on the printed grid, or a family member standing on a taped floor grid) on the START square, facing the top of the page.
  3. Choose a target square, such as the treasure (T). Mark a few squares with an X as walls the robot cannot enter.
  4. The programmer writes the full list of commands on paper before the robot moves. No talking to the robot once the program starts!
  5. Run the program. The robot follows each command exactly — even if it walks into a wall. If it goes wrong, find the step with the bug, fix it and run it again.
  6. Swap roles so everyone has a turn as programmer and as robot. Try to write the shortest program that still works.

Make it easier

Use only forward, left and right arrows on the paper grid (no turning on the spot), and move a toy rather than a person.

Make it harder

Add a repeat command, such as '3 × ↑', or a loop like 'repeat 2: ↑ ↑ ↱', and challenge players to collect two items before reaching the target.

Parent tip: Play the robot yourself and follow the instructions with exaggerated literalness — walking into the couch because the program said so gets laughs and teaches precision far better than a correction does.

Robot Coding Grid

XT
X
X
X
STARTX

The robot starts on START facing up. Write your program using ↑ (forward one square), ↰ (turn left) and ↱ (turn right). Avoid X squares and reach T.

Fantastic work! Every little step helps you grow.