A simple algorithm for maze generation is to start, apart from entry and exit points, with all walls present and randoml

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

A simple algorithm for maze generation is to start, apart from entry and exit points, with all walls present and randoml

Post by answerhappygod »

A simple algorithm for maze generation is to start, apart from
entry and exit points, with all walls present
and randomly knock down walls until the entry and exit points are
connected. Write a C++ program to
implement this algorithm for an arbitrary sized maze – test with a
50 by 88 rectangular maze.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply