@Override
public void generate() {
int attempts = 0, currentNonlinearity = Integer.MAX_VALUE;
int bestAttempt = 0;
Dungeon currentBest = null;
while (attempts++ < MAX_ATTEMPTS) {
super.generate();
int nonlinearity = measureNonlinearity();
log("Dungeon " + attempts + " nonlinearity: "+