Problem with Eller's Maze algorithm

Hi all,

I’ve been writing a Lua version of Eller’s maze. It’s basically done other than the fact that the only way to complete it is by staying constantly on the rightmost cell.

image

Here’s the source code if some proper mathematicians want to take a look. Any help is appreciated! :slight_smile:
Grid.lua (1.0 KB)
Maze.lua (4.7 KB)

2 Likes