3d dungeon with a finite state machine | ScratchStats