Chess AIplayer::doAct(ChessPos cp, ChessBoard* chessmat) { Chess lastchess = Chess(cp.row, cp.column, this->getChesstype()); chessmat->setOneChess(lastchess); return lastchess; }
int main(){ Chess game = Chess(); game.play(); }