This PR merges changes to dungen-site to add a random-dungeon generating component. This creates a 25x25 (default) dungeon, renders it to a bitmap, and serializes it across the wire, for the client to embed into the web page.
The RandomDungeonController includes a hard-coded set of algorithms, to ensure what it generates is at least moderately interesting.
Considerations & Notes
It also updates the Docker container to include a library necessary for System.Drawing on Linux, which for some reason the Microsoft ASP.NET Runtime image doesn't include.
Did some clean-up of the project too, such as trying to improve our Coding Grade, and renaming projects to be a bit more .NET looking
Overview
Fixes #38. Gets us closer to #34.
This PR merges changes to
dungen-site
to add a random-dungeon generating component. This creates a 25x25 (default) dungeon, renders it to a bitmap, and serializes it across the wire, for the client to embed into the web page.The RandomDungeonController includes a hard-coded set of algorithms, to ensure what it generates is at least moderately interesting.
Considerations & Notes
System.Drawing
on Linux, which for some reason the Microsoft ASP.NET Runtime image doesn't include.