public boolean rookCheckVertical(int[][]board, int sx, int sy, int x, int y) {
        if (sy < y) {
            for (int i = sy + 1; i < y; i++) {
                if (board[i][sx] != 0) {
                    return false;
                }
            } 
            
            return true;
        } else {
            for (int i = sy - 1; i > y; i--) {
                if (board[i][sx] != 0) {
                    return false;
                }
            }
            
            return true;
        }        
    }