summaryrefslogtreecommitdiff
path: root/main/main.cpp
blob: 578620ce5ab455aac2406d15ad724e87b301ad0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
}