Solve Mazes by Utilizing Algorithms: Depth-First Search
Temporary Attributes
-
$\color{GreenYellow}{\textsf{Maze Size:}}$ 30 x 30 -
$\color{GreenYellow}{\textsf{Maze Wall Color:}}$ Slate Blue -
$\color{GreenYellow}{\textsf{Background Color:}}$ Black -
$\color{GreenYellow}{\textsf{Entrance and Exit Color:}}$ White -
$\color{GreenYellow}{\textsf{Trail Color:}}$ Maroon
Algorithm: Depth-First Search
30x30_Maze_Run.mp4
Important
Language: Python
Imports:
🔸 pygame
🔸 math
🔸 choice (module: random)