For $-32 \leq i \leq 63$, denote the expected number of flips required to end the game as $f_i$ if you starts at position $i$. We have:
$$
f_i =
\begin{cases}
1 + \frac{f_{i-1} + f_{i+1}}{2}, & \text{if } -32 < i < 63 \\
0, &\text{if } i = -32 \text{ or } i = 63
\end{cases} \tag{$\spadesuit$}
$$
By letting $\Delta_i = f_i - f_{i-1}$, from $(\spadesuit)$, we further have for $-32 < i < 63$,
$$
\Delta_i = 2 + \Delta_{i+1}
$$
Therefore, $\Delta_{-31} = \Delta_{63} + 188$. Moreover, by symmetry, we have $\Delta_{-31} = -\Delta_{63}$. We conclude
$$
\Delta_{63} = -94 \quad\text{and}\quad \Delta_i = 32 - 2i
$$
Therefore,
\begin{align}
f_0 &= f_{-1} + \Delta_0 = f_{-2} + \Delta_{-1} + \Delta_0 = \cdots = f_{-32} + \Delta_{-31} + \cdots + \Delta_0 \\
&= 0 + 94 + \cdots + 32 = 2016
\end{align}
Motivated by Did's comment, more generally,
\begin{align}
f_i~&=~ f_{-32} + \Delta_{-31} + \cdots + \Delta_i \\
&=~ 0 + 94 + \cdots + (32 - 2i) \\
&=~ (i - (-32))(63 - i)
\end{align}