A free beginner coding game for loops and functions. Snap command blocks together to steer a robot through mazes. Climb floors using loops and functions.

Programming is mostly about breaking a problem into precise steps. Moving a robot through a maze with command blocks teaches sequences, loops and functions without any syntax to memorise. These ideas appear in every programming language. If you want to learn coding as a complete beginner, block puzzles like these are a gentle way to practise programming logic first, before you move on to a text language such as Python or JavaScript.
A floor needs the robot to go forward three squares, turn right, and repeat that pattern twice. Writing nine blocks works, but a loop with a block count of two over 'forward, forward, forward, turn right' is shorter and easier to change. Later floors ask you to put a pattern into a function and call it, which is the same idea used in real code.
No. You snap blocks together, and the game introduces loops and functions as you go.
A beginner text language such as Python, where the same loops, conditions and functions are written as code.
Practise the building blocks on their own: put steps in order, make a choice with a condition, repeat with a loop and reuse a set of steps as a function. Algorithm Tower lets you do this by snapping command blocks together, so you can focus on the thinking before you meet Python or JavaScript syntax.
Level: Beginner · Best for: Programming students · Part of the Programming & CLI path. Pass it to earn the “Algorithm Tower Master” badge and a game certificate.
Related: Command Quest — Linux/CLI, Debug Dungeon · Next: Debug Dungeon · All 18 games · About · IT glossary
Content reviewed by Hritik · 2026-11-11.