diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-06-08 20:28:34 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-06-08 20:28:34 +0200 |
commit | 0ef4646a9c19d3d88ffb7674123ccdc0a9012d98 (patch) | |
tree | 9504a288bb693bd1db6fbade32a76174294faa53 /main/main.cpp | |
parent | 7073d9f97b54f41d227b960d05dd28af74d5776d (diff) |
Added build for test project
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp new file mode 100644 index 0000000..578620c --- /dev/null +++ b/main/main.cpp @@ -0,0 +1,17 @@ +#include <iostream> +#include <string> + +#include "spacebot.h" + +int main(int argc, char* argv[]) +{ + if (argc < 2) { + std::cout << "usage: " << argv[0] << " <output folder>" << std::endl; + return 1; + } + + Spacebot bot(argv[1]); + bot.writeNextMove(); + + return 0; +} |