#include "UciParser.h" #include #include "ChessGame.h" using namespace std; int UciParser::parse(istream& in, ostream& out) { while (!in.eof()) { string line; getline(in, line); executeLine(line); } return 0; } int UciParser::executeLine(const string& line) { stringstream s {line}; string token; string command; vector args; s >> command; while (s >> token) { args.push_back(token); } executeCommand(command, args); } int UciParser::executeCommand(const string& command, const vector& args) { }