diff options
-rw-r--r-- | maze.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -107,10 +107,10 @@ class Maze: else: stack.pop() - if self.width < 10: + if self.width < 15: max_holes = 0 else: - max_holes = int(self.width / 5) + max_holes = int(self.width / 7) - 1 holes = 0 while holes != max_holes: |