generating mazes randomly - Exercise 7.23

logistic_guy

Senior Member
Joined
Apr 17, 2024
Messages
2,213
Write a function \(\displaystyle \text{mazeGenerator}\) that takes as an argument a double-subscripted \(\displaystyle 12\)-by-\(\displaystyle 12\) character array and randomly produces a maze. The function should also provide the starting and ending locations of the maze. Try your function \(\displaystyle \text{mazeTraverse}\) from Exercise \(\displaystyle 7.22\) using several randomly generated mazes.
 
Top