An open API service indexing awesome lists of open source software.

https://github.com/gunni1/dungeon-bsp

Use binary space partition to create dungeon maps with golang
https://github.com/gunni1/dungeon-bsp

binary-space-partitioning dungeon-generator golang

Last synced: 5 months ago
JSON representation

Use binary space partition to create dungeon maps with golang

Awesome Lists containing this project

README

          

# About
Use binary space partition to create dungeon maps represented by pixel images.

The Idea came from the algorithm described [here](https://gamedev.stackexchange.com/a/82066)

# Usage
There is a simple webserver to play with parameters of the generator.

- Build the generator locally using `make server`
- Exexute the `./bin/server`
- Open e.g. `http://localhost:3000/map?width=100&height=100&depth=3` in a browser of your choice and play with the parameter