summaryrefslogtreecommitdiff
path: root/src/strategy.rs
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-04-22 21:50:00 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-04-22 21:50:00 +0200
commit88430f31c73f469086b68f2b77d1e1ba5f9178e7 (patch)
tree292a0aceba92e4d0c38679ed919b9b463c82152b /src/strategy.rs
parent3e54b01003aa9d27de8f4ca13c9240fe785ec0e1 (diff)
More minimal game state
I'd prefer to start with just the state that I need, and progressively readd the bits that I've skipped as I find I need them, or as the competition evolves.
Diffstat (limited to 'src/strategy.rs')
-rw-r--r--src/strategy.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/strategy.rs b/src/strategy.rs
new file mode 100644
index 0000000..6ee0dce
--- /dev/null
+++ b/src/strategy.rs
@@ -0,0 +1,6 @@
+use crate::command::Command;
+use crate::game::GameBoard;
+
+pub fn choose_move(state: &GameBoard) -> Command {
+ Command::DoNothing
+}