Academics · Elementary · Grades 1–4
Sixteen puzzles teach the first four ideas of coding: steps in order, loops, finding a bug and planning a longer trip. Then draw a map of your own.
Tap blocks to build a program, then press Run. Step runs one block at a time. Watch an example shows a loop climbing three stairs.
Loading the puzzles. If nothing appears, turn on JavaScript.
Each world of four puzzles is built around one of them, in the order they are usually taught.
The rover does exactly what the blocks say, top to bottom. Forward then Turn left ends in a different square than Turn left then Forward.
Three stairs take twelve steps. A Repeat block holding the four steps of one stair does the same job with five blocks.
Every coder writes bugs. The skill is running the program slowly and spotting the first step where what happens stops matching what you meant.
A long drive is a few short ones. Find the part that repeats, loop it, then add the steps that come before and after.
Academics · ElementaryFree
What counts as a block, how the best score is known, and how to use the puzzles with a young child.
Grades 1 and 2 do best with someone reading the goal aloud and asking “what will the rover do next” before each run. Left and right are from the rover’s point of view, which is the hard part at this age; turning your body the way the rover faces helps.
Grades 3 and 4 can work alone. When a child solves a puzzle the long way, ask which steps repeat before showing the Repeat block. In Find the bug, have them use Step and say aloud what each block should do.
Away from the screen, print a puzzle, tape a grid on the floor and let one child be the rover while another reads the program. Nothing here needs an account, and no names are asked for.
| World | Puzzle | Fewest blocks | Shortest drive, moves | What it asks for |
|---|---|---|---|---|
| Steps in order | First drive | 3 | 3 | Forward and turns only |
| Steps in order | Around the corner | 5 | 5 | Forward and turns only |
| Steps in order | Past the rock | 5 | 5 | Forward and turns only |
| Steps in order | Crystal first | 7 | 7 | Forward and turns only |
| Say it once, repeat it | The long road | 2 | 6 | Needs a Repeat block for three rings |
| Say it once, repeat it | Up the stairs | 5 | 11 | Needs a Repeat block for three rings |
| Say it once, repeat it | Lap of the pond | 6 | 14 | Needs a Repeat block for three rings |
| Say it once, repeat it | Round the bend | 5 | 10 | Needs a Repeat block for three rings |
| Find the bug | Wrong turn | 5 | 5 | One bug to fix |
| Find the bug | One short | 2 | 5 | One bug to fix |
| Find the bug | Out of order | 5 | 11 | One bug to fix |
| Find the bug | One block too many | 6 | 14 | One bug to fix |
| Plan the trip | Out and back | 6 | 11 | Needs a Repeat block for three rings |
| Plan the trip | Crystal ridge | 8 | 13 | Needs a Repeat block for three rings |
| Plan the trip | The snake road | 8 | 12 | Needs a Repeat block for three rings |
| Plan the trip | Over the mountain | 10 | 16 | Needs a Repeat block for three rings |
The maps, the rover and the puzzles are original to Caveat. A puzzle game is practice with the ideas, not a full computer science course. Support: team@caveatacademic.com.