https://github.com/munificent/rooms-and-mazes
Animated demo code for a random dungeon generator
https://github.com/munificent/rooms-and-mazes
Last synced: over 1 year ago
JSON representation
Animated demo code for a random dungeon generator
- Host: GitHub
- URL: https://github.com/munificent/rooms-and-mazes
- Owner: munificent
- License: other
- Created: 2014-12-22T03:02:01.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-22T04:01:07.000Z (over 11 years ago)
- Last Synced: 2025-02-27T17:35:43.990Z (over 1 year ago)
- Language: Dart
- Size: 121 KB
- Stars: 140
- Watchers: 9
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is the code for the animated demos of the random dungeon generation
algorithm described by [this blog post][post].
You're welcome to play with this code, but it's actually not the best reference
for the dungeon generator. Slicing it up into animated form adds a ton of
complexity, and I kind of hacked this together with little regard for good
software engineering. If you'd like a cleaner implementation, take a look at
[how I implemented it][algo] in my roguelike [Hauberk][]. It's a nice, tight
300 lines of clean code there.
[post]: http://journal.stuffwithstuff.com/2014/12/21/rooms-and-mazes
[algo]: https://github.com/munificent/hauberk/blob/db360d9efa714efb6d937c31953ef849c7394a39/lib/src/content/dungeon.dart
[hauberk]: https://github.com/munificent/hauberk