Integers $n$ and $k$ are given, with $n \ge k \ge 2$. You play the following game against an evil wizard.
The wizard has $2n$ cards; for each $i = 1, \ldots, n$, there are two cards labelled $i$. Initially, the wizard places all cards face down in a row, in unknown order.
You may repeatedly make moves of the following form: you point to any $k$ of the cards. The wizard then turns those cards face up. If any two of the cards match, the game is over and you win. Otherwise, you must look away, while the wizard arbitrarily permutes the $k$ chosen cards and then turns them back face-down. Then, it is your turn again.
We say this game is winnable if there exist some positive integer $m$ and some strategy that is guaranteed to win in at most $m$ moves, no matter how the wizard responds.
Prove that the game is winnable if and only if $n \neq k$.
$\textbf{Winnable for } k<n:\quad$ At step $l$, choose the cards in positions $l,l+1,\ldots,l+k$. Comparing the $k-1$ cards you see at positions $l,l+1,\ldots,l+k-1$ with the ones you saw at the previous step, you can conclude which card is at position $l-1$. (Obviously, this only applies from step $2$). After $n+2$ steps you know for certain which cards are in the positions $1,2,\ldots,n+1$. Two of these must coincide, simply choose them and $k-2$ arbitrary others.
Edit: The not winnability argument for $n=k$ was a bit sloppy...