if (leftDiagonal == "XXX" || leftDiagonal == "OOO") return true;if (rightDiagonal == "XXX" || leftDiagonal == "OOO") return true;
return leftDiagonal == "XXX" || leftDiagonal == "OOO" || rightDiagonal == "XXX" || rightDiagonal== "OOO";