• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    C#
  • License
    MIT License
  • Created over 10 years ago
  • Updated almost 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Procedural dungeon tile based map generator.

Karcero

A dungeon/cave map generation library for C# with a fluent API and generic models open for extension.

Dungeon Map Generation

The dungeon generation algorithm is based on Jamis Buck's algorithm with some tweaks here and there.

Here is an example of a generation call:

var generator = new DungeonGenerator<Cell>();
generator.GenerateA()
         .MediumDungeon()
         .ABitRandom()
         .SomewhatSparse()
         .WithMediumChanceToRemoveDeadEnds()
         .WithMediumSizeRooms()
         .WithLargeNumberOfRooms()
         .AndTellMeWhenItsDone(map =>
         {
            //Do stuff with map
         });

and the result (visualized): Map Example

Cave Map Generation

TBD