#ifndef SIMPLEUI_H #define SIMPLEUI_H #include #include #include "Board.h" #include "BoardPoint.h" class SimpleUI { public: SimpleUI () { board = new Board(); } ~SimpleUI () { delete board; } bool tryUpdateBoard(const unsigned int x, const unsigned int y, std::ostream & os); void outputCurrentStatus(std::ostream& os); BoardPoint *getPointInput(std::istream & is, std::ostream & os); void run(std::istream & is, std::ostream & os); private: Board *board; }; #endif