aboutsummaryrefslogtreecommitdiff
path: root/GuessANumber/Controller/src/nl
diff options
context:
space:
mode:
Diffstat (limited to 'GuessANumber/Controller/src/nl')
-rw-r--r--GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGameController.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGameController.java b/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGameController.java
index 1ba7658..bf83786 100644
--- a/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGameController.java
+++ b/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGameController.java
@@ -43,6 +43,7 @@ public class MyGameController extends RoundBasedGameController {
*/
public MyGameController(String[] bots) {
addBots(bots);
+ setCurrentContestant(getContestants().get(0));
Random rand = new Random();
int n = rand.nextInt(100) + 1;