ZeroNim
ZeroNim is a variant of the impartial game Nim. In standard Nim, players take turns removing objects from distinct piles. The player who takes the last object wins. ZeroNim modifies this rule. In ZeroNim, the player who takes the last object loses. This is an example of a misere play game.
Like standard Nim, ZeroNim can be analyzed using the Sprague-Grundy theorem. The nim-sum of the pile sizes
However, the misere play condition in ZeroNim introduces a slight complication. The standard Sprague-Grundy theorem applies
If a player is faced with a position where the nim-sum is non-zero, they can always make