Room Detection and Spanning
The isolated rooms of the map are now detected and a modified Kruskal's algorithm is used to create a tree spanning all of said rooms. This algorithm will be modified so that the smallest rooms will not have so many branches off of them in the tree that they cannot contain all of the holes that will be created because of those branches. Cell and Room classes will be created to make the code easier to understand as well as to support hole placement, biome placement, landmark spawning, and enemy spawning.
Please register or sign in to comment