NIM(n)

NIM(n) is played by two players, who alternate removing one or two coins from a heap of originally n coins. The player who cannot move anymore, since no coins are left, loses.

Move the mouse over the rightmost coin or over the coin left to that. Click on either to remove one or two coins. Then the next player moves and clicks. This game can be played with 5 to 10 coins initially.

White to move
Black to move
White wins !!!!!
Black wins !!!!!


Erich Prisner, 2012