2D-Basic-Dungeon-Generator

Varying rooms with up to 4 door ways are used to create a randomly generated "Dungeon" with no overlapping pieces and no openings at the end. All rooms can be visited. Made with Unity Engine.

View project on GitHub

Video Visualization

Images of the Rooms

alt text

Room Types

These room types represent where each room has an opening. For example if a room is of type up it means it has an opening above it.

public enum RoomTypes
{
    up,
    down,
    left,
    right
}