Navigate a Maze

“I taught myself how to program computers when I was a kid, bought my first computer when I was 10, and sold my first commercial program when I was 12.” - Elon Musk


When reading code, computers need very easy instructions. A computer is usually given a string of directions to follow. They are written with symbols and simple words so that they are easy to understand. Sometimes the code is very repetitive so the computer can perform a task the same way many times. When using code to make directions you can use words like left, right, straight or even arrows to show the directions.


Using some paper and something to write with, draw and cut out some arrows. To go along with the arrows, you can also make cards with words like “Turn” and “Go”. Put these words and symbols into sentences to make your own code. Use something small like a rock or eraser as a “Player” to follow the code. Have someone else move the “Player” and see if they can follow your coded instructions.

Find a fun maze, use a printout, or even create one yourself. Then write directions for how to navigate the maze, using only code. For your code, use symbols like Turn ⬅. Then get your “Player” and try to walk them through the maze using only code.


This program has been designed for you to share with your child. Read the material together, ask questions and encourage your child to ask questions. Then nurture their curious mind by doing the activities with them. Books included are available via CPL’s digital library (with a library card).