<awangdev>Word Search_1.java
private boolean validate(char[][] board, int x, int y, char c) {

        return x < 0 || x >= board.length || y < 0 || y >= board[0].length
            || board[x][y] != c || board[x][y] == '#';
    }
private boolean var_0 ( char [ ] [ ] var_1 , int var_2 , int var_3 , char var_4 ) {
  return var_2 < 0 || var_2 >= var_1 . length || var_3 < 0 || var_3 >= var_1 [ 0 ] . length || var_1 [ var_2 ] [ var_3 ] != var_4 || var_1 [ var_2 ] [ var_3 ] == '#' ;
}
