mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-29 00:14:34 +02:00
finish to synchronize the maze generator and the solver
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user