Coding a LEGO Maze

Michelle has created a free, printable “Coding a LEGO Maze” activity that can grow with kids. No computers are used. Just paper and (optionally) a maze made of Lego blocks.

Children as young as 5 or 6 can attempt the easiest challenges, while the concepts introduced in the harder challenges would be at home in any introduction to programming class.

Using the goal of teaching a Lego character to navigate a maze, this project introduces programming concepts like for loops, while loops, if statements, and random number generators. No computers needed!

This project makes a great first step to introduce the Scratch programming language.