Better map generation and a test that re-rolls maps that aren't valid to figure out the stats of map gen failures.

This commit is contained in:
Zed A. Shaw 2026-03-11 12:31:51 -04:00
parent 8090251a71
commit f85ae8a6c6
12 changed files with 131 additions and 76 deletions

View file

@ -35,7 +35,6 @@ namespace maze {
void divide(Point start, Point end);
void remove_dead_ends();
void dump(const std::string& msg);
void perimeter(size_t x, size_t y, size_t width, size_t height, std::function<void(size_t x, size_t y)> cb);
void open_box(size_t outer_size);
void add_dead_end(Point at);
bool room_should_exist(Room& room, bool allow_dupes=false);