This PR merges changes to dungen-site to embed into the home page a randomly generated dungeon map. It would be good to limit this random generator to a curated palette of custom algorithms, so each dungeon is a bit more "showy." However, this serves to at least create the web visualization, so we can futz with quality later on.
The next part of #34 will be to create a dedicated page that does the same thing, but tells you what algorithm was run, how long it took, and lets you download the .dgd file.
Proposed Changes
Adds a new Angular component: random-dungeon, and embeds it into home component.
Considerations & Notes
It was a learning experience to get the base64 embedded into the page without saving it to the server (Heroku) filesystem. Boy howdy I am not a seasoned Angular dev :)
Commit Summary
Adds new ASP.NET controller and exposes API for getting rando dungeons
Adds new component: random-dungeon
Also fixes assembly namespacing for dungen-site project
Overview
Part of #34. But it is not done.
This PR merges changes to
dungen-site
to embed into the home page a randomly generated dungeon map. It would be good to limit this random generator to a curated palette of custom algorithms, so each dungeon is a bit more "showy." However, this serves to at least create the web visualization, so we can futz with quality later on.The next part of #34 will be to create a dedicated page that does the same thing, but tells you what algorithm was run, how long it took, and lets you download the
.dgd
file.Proposed Changes
random-dungeon
, and embeds it into home component.Considerations & Notes
Commit Summary