finish to synchronize the maze generator and the solver

This commit is contained in:
Maoake Teriierooiterai
2026-03-26 14:19:43 +01:00
parent 170de8813a
commit ef030f70a7
4 changed files with 32 additions and 29 deletions
+2
View File
@@ -190,6 +190,8 @@ class DepthFirstSearchSolver(MazeSolver):
coord = self.next_cell(coord, next)
for m in move:
path_str += m
if not path:
raise Exception("Path not found")
return path_str
@staticmethod