This commit is contained in:
2026-04-03 16:48:51 +02:00
parent e63c2679a6
commit 6189d7f321
4 changed files with 6 additions and 5 deletions
+4 -2
View File
@@ -296,7 +296,8 @@ class Kruskal(MazeGenerator):
cells_ft = self.get_cell_ft(width, height)
if cells_ft and (self.start in cells_ft or self.end in cells_ft):
print(
"Forty two will not be display. Entry or exit set in the ft logo"
"Forty two will not be display. "
"Entry or exit set in the ft logo"
)
cells_ft = None
@@ -384,7 +385,8 @@ class DepthFirstSearch(MazeGenerator):
visited = self.lock_cell_ft(visited, self.forty_two)
else:
print(
"Forty two will not be display. Entry or exit set in the ft logo"
"Forty two will not be display. "
"Entry or exit set in the ft logo"
)
path: list[tuple[int, int]] = list()
w_h = (width, height)
-1
View File
@@ -1,4 +1,3 @@
from os.path import split
from mazegen import DepthFirstSearch, Kruskal
from mazegen import AStar, DepthFirstSearchSolver
from typing import Any