diff options
author | Camil Staps | 2015-02-21 15:55:16 +0100 |
---|---|---|
committer | Camil Staps | 2015-02-21 15:55:16 +0100 |
commit | 6ee3306843963cb0603a8b091c095020911f21e9 (patch) | |
tree | 278ca8b7c0686a09dadbc9fb7e888fc9f4c631f6 /GuessANumber/Controller/src/nl/camilstaps | |
parent | round based game (diff) |
fix for setcurrentcontestant
Diffstat (limited to 'GuessANumber/Controller/src/nl/camilstaps')
-rw-r--r-- | GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGameController.java | 1 |
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; |