Skip to content

akale22/Maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Maze Generation and Pathfinding

This is a maze generation and pathfinding application. The app uses Kruskal's algorithm to generate a maze with dimensions that range from as little as 2 by 2, all the way up to 100 by 100. These dimensions can be specified by the user. After generating the maze, the user has options to solve the maze. They can either solve it using a depth first search (DFS) by clicking 'd' or a breadth first search (BFS) by clicking 'b'. Users also have the option to clear the current maze with 'c' and to generate a new maze with 'r'. In both the DFS and BFS, the search is animated step-by-step and the final path is retraced.

Final Product

The picture below shows a randomly generated maze. The starting point is green and the end is red.
Starting Maze

The picture below a maze that has been solved with a depth first search. The path to the end is in dark blue.
DFS

The picture below a maze that has been solved with a breadth first search. The path to the end is in dark blue.
DFS

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages