8 * Class to control an AI program for a game of Stratego
9 * Inherits most features from the Program class
12 class Controller : public Program
15 Controller(const Piece::Colour & newColour, const char * executablePath) : Program(executablePath), colour(newColour) {}
16 virtual ~Controller() {}
18 Board::MovementResult Setup(const char * opponentName); //Requests the AI program for the initial positioning of its pieces.
20 Board::MovementResult MakeMove(std::string & buffer); //Queries the AI program for a response to the state of Board::theBoard
22 const Piece::Colour colour; //Colour identifying the side of the AI program.