The way the dungeons (boxes) are arranged are completely randomized (with 3 parts, most of the time). Click the green flag for a new pattern. Keep on clicking the green flag for more patterns. You can use the code if you may need it for a game.
100% by me. Spent like an hour making this. Thought I would try to make a game out of this later. I may be doing that, depends on the amount of work I have.