trying to combine dungeon generation and photon

and failing miserably