mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
Remove test prints
This commit is contained in:
@@ -224,7 +224,6 @@ class MazeMLX:
|
|||||||
progressively.
|
progressively.
|
||||||
"""
|
"""
|
||||||
path = amazing.solve_path()
|
path = amazing.solve_path()
|
||||||
print(path)
|
|
||||||
actual = amazing.entry
|
actual = amazing.entry
|
||||||
actual = (actual[0] - 1, actual[1] - 1)
|
actual = (actual[0] - 1, actual[1] - 1)
|
||||||
maze = amazing.maze.get_maze()
|
maze = amazing.maze.get_maze()
|
||||||
|
|||||||
@@ -327,7 +327,6 @@ class Kruskal(MazeGenerator):
|
|||||||
len(sets.sets) == 19 and cells_ft is not None
|
len(sets.sets) == 19 and cells_ft is not None
|
||||||
):
|
):
|
||||||
break
|
break
|
||||||
print(f"nb sets: {len(sets.sets)}")
|
|
||||||
maze = self.walls_to_maze(walls, height, width)
|
maze = self.walls_to_maze(walls, height, width)
|
||||||
if self.perfect is False:
|
if self.perfect is False:
|
||||||
gen = Kruskal.unperfect_maze(width, height, maze, cells_ft)
|
gen = Kruskal.unperfect_maze(width, height, maze, cells_ft)
|
||||||
@@ -382,9 +381,6 @@ class DepthFirstSearch(MazeGenerator):
|
|||||||
and self.start not in self.forty_two
|
and self.start not in self.forty_two
|
||||||
and self.end not in self.forty_two
|
and self.end not in self.forty_two
|
||||||
):
|
):
|
||||||
print(self.start)
|
|
||||||
print(self.end)
|
|
||||||
print(self.forty_two)
|
|
||||||
visited = self.lock_cell_ft(visited, self.forty_two)
|
visited = self.lock_cell_ft(visited, self.forty_two)
|
||||||
else:
|
else:
|
||||||
print(
|
print(
|
||||||
|
|||||||
Reference in New Issue
Block a user