Skip to content

Latest commit

 

History

History
62 lines (59 loc) · 2.71 KB

README.md

File metadata and controls

62 lines (59 loc) · 2.71 KB

BSP map generation

A dungeon map generation using BSP trees.

Features:

  • special characters for room floors as well as for horizontal and vertical doors
  • generating room numbers

Examples:

seed: 1538747649050

..................................................
..................................................
..................................................
................................###########.......
................................#,,,,,,,,,#.......
................................#,,,,,,,,,#.......
....#####.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................#,,,,,,,,,#.......
....#,,,#.......................####--#####.......
....#,,,#..........................#..#...........
....#,,,#..........................#..#...........
....#,,,#......#########...........#..#...........
....#,,,#......#,,,,,,,#...........#..#...........
....#,,,#......#,,,,,,,#...........#..#...........
....#,,,#......#,,,,,,,#.........###--####........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,#......#,,,,,,,#.........#,,,,,,,#........
....#,,,########,,,,,,,###########,,,,####........
....#,,,|......|,,,,,,,|,,,,,,,,,,,,,,#...........
....#,,,|......|,,,,,,,|,,,,,,,,,,,,,,#...........
....#,,,########,,,,,,,#############,,#...........
....#,,,#......#,,,,,,,#...........#,,#...........
....#,,,#......#,,,,,,,#...........#,,#...........
....#,,,#......#,,,,,,,#.....#######--#######.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#,,,,,,,#.....#,,,,,,,,,,,,,,#.....
....#,,,#......#########.....#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#,,,#....................#,,,,,,,,,,,,,,#.....
....#####....................#,,,,,,,,,,,,,,#.....
.............................#,,,,,,,,,,,,,,#.....
.............................#,,,,,,,,,,,,,,#.....
.............................################.....
..................................................
..................................................