Each row holds one of your pieces (cyan) and one of Amog's (red). On your turn, slide one of your pieces along its row, forwards or backwards, any distance, but never past his. Whoever cannot move loses. Click a highlighted square to move there.
Let $g_r$ be the number of empty squares between the two pieces in row $r$.
\begin{theorem}The player to move loses if and only if $g_1 \oplus g_2 \oplus \cdots \oplus g_k = 0$, where $k$ is the number of rows.\end{theorem}
\begin{proof}Moving forward shrinks one gap: a Nim move. Moving backward grows a gap, but the opponent can simply follow, restoring the gap. Backward moves eat up space near the edge, so they cannot go on forever, and the game is Nim on the gaps.\end{proof}
\begin{remark}This is a partisan game (you and Amog move different pieces), yet it is still solved by the impartial theory, because retreats are reversible moves.\end{remark}