summaryrefslogtreecommitdiff
path: root/2015-spacebot/include/spacebot.h
diff options
context:
space:
mode:
Diffstat (limited to '2015-spacebot/include/spacebot.h')
-rw-r--r--2015-spacebot/include/spacebot.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/2015-spacebot/include/spacebot.h b/2015-spacebot/include/spacebot.h
new file mode 100644
index 0000000..9f7f83e
--- /dev/null
+++ b/2015-spacebot/include/spacebot.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <string>
+#include "move.h"
+#include "game_state.h"
+
+class Spacebot {
+public:
+ Spacebot(std::string outputPath, std::string brainFilename);
+ void writeNextMove();
+private:
+ std::string _outputFilename;
+ std::string _brainFilename;
+ GameState _gameState;
+
+ void writeMove(const Move& move);
+ Move chooseMove();
+};