The Wayback Machine - https://web.archive.org/web/20220412235240/https://github.com/davecom/MazeSolvingGUI
Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

MazeSolvingGUI

A simple tkinter GUI for illustrating depth-first search (DFS) and breadth-first search (BFS). For a well explained version of these algorithms checkout chapter 2 of Classic Computer Science Problems in Python.

Running

Requires Python 3.7+ No external dependencies beyond the Python standard library with tkinter.

python3 maze_gui.py

Note that each time you run a new random maze is generated. You can change the time interval using the drop down on the bottom right. The green square is the start location, red square is the goal, blue square is the current cell being explored, white squares are empty, black squares are blocked, yellow is the cells that have been popped off the frontier, orange cells are still on the frontier, and cyan cells represent the final found path.

Screenshot

License

Released under the Apache License version 2.0. See LICENSE.

About

A simple tkinter GUI for illustrating DFS and BFS.

Topics

Resources

License

Stars

Watchers

Forks

Languages