CHALLENGE rule randomly generates challenges.

This commit is contained in:
Woody Folsom
2012-03-18 16:17:04 -04:00
parent c2465821f3
commit 862ba2aa31
5 changed files with 75 additions and 7 deletions

View File

@@ -9,6 +9,6 @@ public class FitnessEvaluator {
System.out.println("Evaluating LevelParseTree for fitness");
List<LevelComponent> levelTemplate = parseTree.getLevelTemplate();
//a good level has 8-16 components, plus some additional complexity depending on the player's skill level
return levelTemplate.size() > 7 && levelTemplate.size() < 17;
return levelTemplate.size() > 9 && levelTemplate.size() < 25;
}
}