diff options
Diffstat (limited to 'main.rb')
-rw-r--r-- | main.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ class MazeGenerator def generate() @visitedCells = [@currentPos] - @stack = [Pos.new(0, 0)] + @stack = [Pos.new(rand(@maze.width), rand(@maze.height))] while !@stack.empty? step() |