About Code Blocks
Real programming ideas, one per world: sequencing, loops (repeat 2 to 9 times, including loops inside loops), conditions (if path ahead, if wall ahead, if path left or right, if on a cell, with else), repeat until (one program that has to work on two or three different maps), functions (build my move once, use it many times) and debugging (fix a broken program with…
By the ToolFluency team · Updated November 2026
Free coding game for kids 8-12: program a robot with blocks through 36 levels. Loops, if-else, repeat-until, functions and bug hunts, with Step mode and a real code view. No sign-up.
How to use
- Look at the map: the robot has to grab every energy cell, then park on the pad. The goal line above the map says what this level needs.
- Tap a block to add it to your program at the yellow line. Forward moves one square the way the robot faces; turn left and turn right spin it on the spot, from the robot's own point of view.
- Press Run and watch the robot follow the blocks while each one lights up. Use Step to run one block at a time, and 1x, 2x or 4x to change the speed.
- If the robot hits a wall or the program ends too early, it stops there, the block that went wrong glows pink and the line under the map says why. Fix the program and run it again.
- Tap a block in your program to select it, then use Up, Down or Delete. Tap the number on a repeat or the check on an if to change it. Undo and redo work for every change.
- Aim for 3 stars: each level shows the block count for 3 and 2 stars. Repeat, if, repeat until and my move let you say more with fewer blocks.
- Turn on the code view to see the same program written as text (repeat 4:, forward(), while not at_pad():), a first step toward typed languages like Python.
- Free Build: draw your own map with walls, cells and a pad, write a program for it and save up to 8 maps on this device.
Frequently asked questions
What does my child actually learn?
Real programming ideas, one per world: sequencing, loops (repeat 2 to 9 times, including loops inside loops), conditions (if path ahead, if wall ahead, if path left or right, if on a cell, with else), repeat until (one program that has to work on two or three different maps), functions (build my move once, use it many times) and debugging (fix a broken program with a limited number of edits).
How is this different from button mashing?
The robot only moves when the whole program runs, so kids plan first. Each level has a block limit, and stars reward shorter programs: 3 stars means the best solution we know of. Many levels cannot be solved without the new idea of that world, so kids have to spot the pattern and use a loop, a check or a function.
Why are the turns left and right instead of arrows?
Forward, turn left and turn right work from the robot's own point of view, like the floor robots used in classrooms. Kids have to imagine which way the robot faces, which is the spatial skill the game trains.
What happens when a program is wrong?
The robot stops where it went wrong, the block that failed glows, and one plain line says why, for example "Hit a wall on step 7." There are no lives and no timer. Step mode runs one block at a time so kids can find the bug themselves.
What age is it for?
Ages 6 to 12 (Grades 1 to 6). The first world starts with four forward blocks, and the last worlds use loops, nested ifs and functions. Younger children can start with Puppy Path, the picture-only version for ages 5 to 7.
Is it free, and is anything shared?
Free, with no ads, no account and no uploads. Progress, stars and Free Build maps (up to 8) stay in the browser on this device.
Part of ToolFluency’s library of free online tools for Kids. No account needed, no data leaves your device.