Coding with blocks and robots · grades 1 to 5
Type a short program for a robot on a grid: forward, left, right and repeat. The page follows every command, draws the path, tells you where the robot ends and whether it reached the goal.
Set the grid, the start and the goal, then type commands. The worked example uses a repeat to reach the goal. Saved on this device only.
Loading Robot Path Tracer. If nothing appears, turn on JavaScript.
Academics · ElementaryOpen to everyone · no sign-in
A robot does exactly what the commands say, in order. Tracing a program by hand, step by step, is how programmers find mistakes, and it needs no computer at all.
When the same commands repeat, a loop says them once and counts. Spotting repeated steps is an early lesson in writing shorter programs.
The worked examples are made up for illustration. What you type is saved only in this browser on this device and is never sent to Caveat. Younger children do best with a grown-up beside them. Support: team@caveatacademic.com.