diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-05-24 22:24:31 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-05-24 22:24:31 +0200 |
commit | e6a53bb57e7c2e5ce17cdc10a51b40cd83ceb85e (patch) | |
tree | 89a628ea90f52632ec2a665705f396160980d6fd /src/spacebot.cpp | |
parent | 08365e5558d800e108b2d377cf6c03397d1ff2c2 (diff) |
Base bot
Diffstat (limited to 'src/spacebot.cpp')
-rw-r--r-- | src/spacebot.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/spacebot.cpp b/src/spacebot.cpp new file mode 100644 index 0000000..0fc39b1 --- /dev/null +++ b/src/spacebot.cpp @@ -0,0 +1,12 @@ +#include "spacebot.h" + +Spacebot::Spacebot(const std::string& outputPath) + : mapStream(outputPath+"map.txt", std::ifstream::in) + , resultStream(outputPath+"move.txt", std::ofstream::out) +{ +} + +void Spacebot::writeNextMove() +{ + resultStream << "Shoot" << std::endl; +} |