Skip to Main content Skip to Navigation
Journal articles

How to Generate Perfect Mazes?

Abstract : 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.
Document type :
Journal articles
Complete list of metadata
Contributor : Jean-Marie Favreau <>
Submitted on : Friday, March 19, 2021 - 9:21:04 PM
Last modification on : Wednesday, May 5, 2021 - 10:05:13 AM


Files produced by the author(s)




Victor Bellot, Maxime Cautrès, Jean-Marie Favreau, Milan Gonzalez-Thauvin, Pascal Lafourcade, et al.. How to Generate Perfect Mazes?. Information Sciences, Elsevier, 2021, ⟨10.1016/j.ins.2021.03.022⟩. ⟨hal-03174952⟩



Record views


Files downloads