blob: c780e1f53a71e2188ca09570fa8ea7b20d7ed414 (
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(std::move(outputFolder));
bot.writeNextMove();
return 0;
}
|