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
- Host: GitHub
- URL: https://github.com/gunni1/dungeon-bsp
- Owner: gunni1
- Created: 2022-01-04T19:40:41.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-14T18:24:19.000Z (almost 2 years ago)
- Last Synced: 2024-07-14T19:42:02.567Z (almost 2 years ago)
- Topics: binary-space-partitioning, dungeon-generator, golang
- Language: Go
- Homepage:
- Size: 12.3 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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