O'Reilly logo

Mazes for Programmers by Jamis Buck

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required