Mathematical paradoxes · Rules and theory
Take tokens from the heaps. Whoever takes the last one wins.
Rules
This is the task players see in the app before choosing.
The table has heaps of tokens: 3 · 4 · 5. Players take turns removing any number of tokens (at least one) from a single heap. Whoever takes the last token wins a point. Each round players are paired up (with an odd number, one person sits out) and a randomly chosen player starts. You have 120 s per round; whoever is on the move when time runs out loses the game.
The numbers in the description (ranges, times, pools) are the defaults; the host can change some of them when creating the table.
Theory
The app shows this text after the round, with the numbers from your own game next to it.
Nim is completely solved: compute the XOR (nim-sum) of the heap sizes. If it is not zero, the player on the move can leave a position with nim-sum 0 and wins with correct play; from a zero position they lose if the rival makes no mistake. For the classic heaps 3, 4, 5 the nim-sum is 2, so the starting player has a winning move (take 2 from the heap of three). Whether players find it shows in the numbers below.
Android and Windows: available. iOS, iPadOS and macOS: coming soon (version 2.1.0 is in App Store review).
More paradoxes