diff --git a/core/src/com/group/golf/ai/GeneticBot.java b/core/src/com/group/golf/ai/GeneticBot.java index acb7e36..edbd706 100644 --- a/core/src/com/group/golf/ai/GeneticBot.java +++ b/core/src/com/group/golf/ai/GeneticBot.java @@ -27,7 +27,7 @@ public class GeneticBot implements Bot { private int counter = 0; private static final int POPULATION_SIZE = 50; - private static final int DNA_LENGTH = 5; + private static final int DNA_LENGTH = 3; private static final double MAX_FORCE = 500; private static final int GENERATION_LIMIT = 5; diff --git a/core/src/com/group/golf/screens/CourseSelectorScreen.java b/core/src/com/group/golf/screens/CourseSelectorScreen.java index fe0219e..07bd2b0 100644 --- a/core/src/com/group/golf/screens/CourseSelectorScreen.java +++ b/core/src/com/group/golf/screens/CourseSelectorScreen.java @@ -107,6 +107,7 @@ public void changed (ChangeEvent event, Actor actor) { design.setTouchable(Touchable.disabled); importbtn.setTouchable(Touchable.disabled); play.setTouchable(Touchable.disabled); + bot.setTouchable(Touchable.disabled); Ball ball = new Ball(40);