Let m1, m2, ... ,
mk be the Nim values of the initial starting
positions of the cars (some of these values may be 'inf'). Then
we have three cases (assuming optimal play between the players):
- If all of the values are finite, then the result is the
same as the game of Nim with piles of m1 sticks,
m2 sticks, ... .
- Suppose exactly one of the value (say m1) is
infinite.
- If there is a path from m1 to a town
marked with finite m1', such that the Nim game
of m1', m2, m3,
... , mk is a losing position (i.e. 2nd player wins),
then our original game is a winning position.
- Otherwise, the game
ends in a draw.
- If more than one of the values is infinite, then the game
ends in a draw.
|