blob: 1621ba840968781265fde54d0afe87402f6a772f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#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;
}
std::string outputFolder = argv[1];
Spacebot bot(outputFolder);
bot.writeNextMove();
return 0;
}
|