Building a Dungeon

Learn how to place rooms randomly, connect them with corridors, and build a dungeon for the adventurer to explore.

Create a map builder module

Let’s create a new map_builder.rs file. This file contains the map building module. Add it to prelude in main.rs:

Get hands-on with 1200+ tech skills courses.