From 85979776c4d32af8d02afa2f5aeb1b0aad70282e Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Thu, 19 Feb 2015 18:58:40 +0100 Subject: directory structure --- GuessANumber/Controller/build.xml | 38 ++++++++++++++++++++++ .../src/nl/camilstaps/botleagues/MyGame.java | 4 ++- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 GuessANumber/Controller/build.xml (limited to 'GuessANumber/Controller') diff --git a/GuessANumber/Controller/build.xml b/GuessANumber/Controller/build.xml new file mode 100644 index 0000000..c7c89c9 --- /dev/null +++ b/GuessANumber/Controller/build.xml @@ -0,0 +1,38 @@ + + + Controls a RandomBot game + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGame.java b/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGame.java index e7c222d..79a9868 100644 --- a/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGame.java +++ b/GuessANumber/Controller/src/nl/camilstaps/botleagues/MyGame.java @@ -58,7 +58,9 @@ public class MyGame extends GameController { /** * Do a round. * - * Take a number n in mind and let all the contestants guess. The contestants that are the closest to n get a point. + * Take a number n in mind and let all the contestants guess. The contestants that are the closest to n get a point. + * + * @todo Maximum execution time waiting for a contestant to answer */ public void doRound() { Random rand = new Random(); -- cgit v1.2.3