((board[0] == 'X' && board[0] == 'X' && board[0] == 'X') || (board[0] == 'X' && board[0] == 'X' && board[0] == 'X') ||              (board[0] == 'X' && board[0] == 'X' && board[0] == 'X') || (board[0] == 'X' && board[0] == 'X' && board[0] == 'X') ||              (board[0] == 'X' && board[0] == 'X' && board[0] == 'X') || (board[0] == 'X' && board[0] == 'X' && board[0] == 'X') ||              (board[0] == 'X' && board[0] == 'X' && board[0] == 'X') || (board[0] == 'X' && board[0] == 'X' && board[0] == 'X')){         return true;     } else {         return false; // return true or false as appropriate     } }  // ******************************************************* private static boolean is