Your Turn
By this point, you should have a decent grasp of what algorithms are, and some idea of the role they’re going to play in generating random mazes. You’ve seen them at work with the Binary Tree and Sidewinder algorithms. You’ve worked through a couple of mazes on paper, and you’ve learned a little bit about maze textures and how they relate to algorithm biases.
Not bad!
However, as any good chef will tell you, a recipe—and here let’s say, an algorithm—is only a place to start. Now it’s your turn. Look deeper. Play around with what you’ve learned. If you need some suggestions to get your own idea engine running, take a look at the following experiments.
Binary Tree experiments
You’d expect an algorithm that restricts you to choosing between ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access