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 ++-
GuessANumber/RandomBot/.gitignore | 1 +
GuessANumber/RandomBot/build.xml | 38 ++++++++++++++++++++++
4 files changed, 80 insertions(+), 1 deletion(-)
create mode 100644 GuessANumber/Controller/build.xml
create mode 100644 GuessANumber/RandomBot/build.xml
(limited to 'GuessANumber')
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();
diff --git a/GuessANumber/RandomBot/.gitignore b/GuessANumber/RandomBot/.gitignore
index b630aee..5bda502 100644
--- a/GuessANumber/RandomBot/.gitignore
+++ b/GuessANumber/RandomBot/.gitignore
@@ -3,6 +3,7 @@
# Directories #
/build/
/bin/
+/dist/
target/
# OS Files #
diff --git a/GuessANumber/RandomBot/build.xml b/GuessANumber/RandomBot/build.xml
new file mode 100644
index 0000000..770c483
--- /dev/null
+++ b/GuessANumber/RandomBot/build.xml
@@ -0,0 +1,38 @@
+
+
+ RandomBot example for the GuessANumber game
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--
cgit v1.2.3