Preparing the Grid

We’re going to start by drawing a grid—just a regular crosshatching of perpendicular lines. This scaffolding will form the skeleton of the maze, the bones and sinews that will give structure and stability to our final product.

Here’s what I want you to do.

Get out a piece of paper. It doesn’t have to be fancy—a napkin will do in a pinch. You’ll want something to write with, too, and erasability will be a plus.

images/bt-grid.png

On this piece of paper, draw a grid. Four-by-four ought to be plenty big enough for this first experiment, and don’t worry about the lines being all neat. Anything like this figure should be fine.

This is our starting ...

Get Mazes for Programmers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.