9 lines
241 B
Python
9 lines
241 B
Python
from MazeBuilder import TextFileMazeBuilder
|
|
from BreadthFirstSearch import BFSStrategy
|
|
from Maze import Maze
|
|
|
|
|
|
maze1 = TextFileMazeBuilder().buildFromFile("text.txt")
|
|
pathh = BFSStrategy.findPath(maze1, maze1.start, maze1.exit)
|
|
print(pathh)
|