summaryrefslogtreecommitdiff
path: root/include/spacebot.h
blob: a5c23c218953659c7d178210a16b62672ada4381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <iostream>
#include <fstream>
#include "move.h"

class Spacebot {
public:
    Spacebot(const std::string& outputPath);
    void writeNextMove();
private:
    std::ifstream mapStream;
    std::ofstream resultStream;
    void writeMove(const Move& move);
    Move chooseMove();
};