Skip to content

amanueltt/maze-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maze-Solver

A maze solving program which implements the depth-first search algorithm

Maze.Solver.mp4

Depth First Strategy

  • Fix an order on possible neighbors of cells e.g., north, east, south, west

When visiting a cell:

  • Mark it as visited
  • Check if it is the goal
  • If not, visit “next” unvisited neighbor
  • If no unvisited neighbors, return to “parent” cell

This program together with a maze generation program can be used to quickly generate and solve mazes and can be implemented for a wide variety of uses.

About

A maze solving program which implements the depth-first search algorithm

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages