From 0ef4646a9c19d3d88ffb7674123ccdc0a9012d98 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Mon, 8 Jun 2015 20:28:34 +0200 Subject: Added build for test project --- main/main.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 main/main.cpp (limited to 'main/main.cpp') 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 +#include + +#include "spacebot.h" + +int main(int argc, char* argv[]) +{ + if (argc < 2) { + std::cout << "usage: " << argv[0] << " " << std::endl; + return 1; + } + + Spacebot bot(argv[1]); + bot.writeNextMove(); + + return 0; +} -- cgit v1.2.3