How to Generate Perfect Mazes?
Résumé
A perfect maze is a maze where any two cells can be joined by a unique path. In the literature, there exist eleven maze generation algorithms as compiled by Buck in 2015 in his book “Mazes for Programmers”. Each algorithm creates mazes differently. Our aim is to analyze how perfect mazes are generated. For this, we use the simple measures introduced by Buck, as well as the physical based measures introduced by McClendon in 2001. We introduce a new measure that helps us establish a ranking for perfect mazes. We also propose two new maze generation algorithms, called Prim&Kill and Twist&Merge. According to our measure, these two algorithms generate mazes differently than the existing algorithms do.
Origine | Fichiers produits par l'(les) auteur(s) |
---|