We will start our journey with PCG by using a search algorithm as a starting point for creating mazes. We will use the foundations acquired in Chapter 2, Navigation, and twist them a little, to create mazes.
Creating mazes with Depth-First Search
Get Unity 2018 Artificial Intelligence Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.