Sample:bool Board::moveRook(int row, int col, string direction, int steps) { string piece = look(row, col); assert(piece.at(1) == 'R'); if (!((direction == "N") || (direction == "S") || (direction == "W") || (direction == "E"))) { cout
Get Free Quote!
383 Experts Online