maze-solver/main.py
Dan Anglin 4c7e50ec39
checkpoint: Add side panel
Add a side panel to allow users to interact with the app.
The generate button now generates the maze.
2024-02-17 20:06:09 +00:00

33 lines
614 B
Python

from graphics import Window
from maze import Maze
from solver import Solver
from app import App
def main():
app = App()
app.mainloop()
#window = Window(800, 800)
#game = Maze(
# x_position=10,
# y_position=10,
# height=19,
# width=19,
# cell_height=40,
# cell_width=40,
# window=window
#)
#solver = Solver(game)
#if solver.solve(solver.solve_with_bfs_r, True):
# print("Maze solved successfully :)")
#else:
# print("I'm unable to solve the maze :(")
#window.mainloop()
if __name__ == "__main__":
main()