set up the function draw ft

This commit is contained in:
Maoake TERIIEROOITERAI
2026-03-24 22:11:54 +01:00
parent 03c4d206d6
commit a39f348b1e
+8
View File
@@ -216,3 +216,11 @@ class DepthFirstSearch(MazeGenerator):
for dx in range(x, x + 11):
visited[dy, dx] = True
return visited
@staticmethod
def draw_ft(maze: np.ndarray, coord: tuple):
x, y = coord
for dy in range(y, y + 7):
for dx in range(x, x + 11):
maze[dy][dx] = Cell(value=0)
return maze