Skip to content

The python code generates a maze and efficiently traverses through it.

Notifications You must be signed in to change notification settings

dhruvdakoria/pythonTraverseMaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pythonTraverseMaze

The python code generates a maze and efficiently traverses through it. FIles listing-

mazeGenerator.py - Random Maze Generator On passing rows and columns the mazeGen function, it creates a random maze string.

mazeTraversal.py - Contains the algorithm for traversal through the maze The maze string is passed to createMazeMatrix function which converts it into a 2d array matrix. traverseMaze function then uses this 2d array to figure out the path to the '#' starting at '@'; Start coordinates: (1,0) ; End at '#'; Uses 'X' for the path.

About

The python code generates a maze and efficiently traverses through it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages