An implementation of Dungeon Roll.  Or an attempted one.  Whatever.