Introduction

Mazes are everywhere. From psychology experiments where mice scamper in search of cheese, to robotics demonstrations, to movies (Labyrinth, anyone?) and video games (Pac-Man? The Legend of Zelda? Doom?), to books and books of puzzles to be traced by finger or pencil, you’ve almost certainly encountered them at some point in your life.

What you’re reading now is not a collection of mazes for you to solve. No, this is something much more exciting. This is a collection of ideas to inspire you.

You’re about to learn how to generate your own mazes. Random mazes, unique, each one different than the one before. It’s a voyage of discovery where you never know quite what you’ll find when you crest the next hill.

You’ll take your existing ...

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.