mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-11-01 15:42:03 +01:00
finish the thing
This commit is contained in:
1 parent
9c76914366
commit
b6067b2045
3 files changed
+14
-3
No files matched your search
@@ -371,7 +371,7 @@ class DepthFirstSearch(MazeGenerator):
|
||||
if seed is not None:
|
||||
np.random.seed(seed)
|
||||
maze = self.init_maze(width, height)
|
||||
if width > 9 and height > 9:
|
||||
if width > 10 and height > 10:
|
||||
self.forty_two = self.get_cell_ft(width, height)
|
||||
visited: NDArray[np.object_] = np.zeros((height, width), dtype=bool)
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user