Skip to content
The Scroll Art Museum

Any Size Diagonal Maze

Al Sweigart, 2024. Random. A variation of Diagonal Maze.

While a random collection of the two diagonal characters forms the "maze", larger mazes can be created with 2 x 2, 3 x 3, or any arbitrary N x N size. This piece cycles through mazes of various size.

Python source code

Customize
Settings