Like a winding dungeon in a fantasy adventure, this box is generated using the wavefunction collapse algorithm, a…