Take the very last object from the table — whoever takes it wins.
Setup
There are three heaps of 3, 4 and 5 objects on the table, 12 objects in total. The heap sizes are the same in every game and the objects belong to nobody. 2–4 players play.
Player 1 always moves first and turns go round 1 → 2, with three 1 → 2 → 3, with four 1 → 2 → 3 → 4. Who becomes player 1 is drawn for the first game; in a rematch the seats shift by one (with two they swap).
A turn
Players take turns. On your turn you take any number of objects from a single heap — at least one, at most all that are left in it. You cannot take from several heaps at once, nor from an empty heap. There is no passing, you have to move.
You take by clicking an object: it is selected together with all objects above it, because you take from the top of the heap. You confirm the selection with the “Take” button showing the number of objects; until then you can change it by clicking elsewhere. The objects of the last take stay above the heap as dashed circles in the colour of the player who took them, and the text above the board says who took how many from which heap (counted from the left).
You have 30 seconds per move.
End of the game
Whoever takes the last object — after their move all heaps are empty — wins and the game ends at once. This also holds with three and four: there is a single winner, everyone else loses. Every move removes at least one object, so a game has at most 12 moves.
Only this variant is played. The reverse variant (misère), in which the last object loses, cannot be chosen.
With two, whoever surrenders, leaves the game or loses on time loses (see below). With three and four such a player is out and the others play on. When a single player is left in the game, they win.
With two the game can also end in a draw by agreement. With three and four there are no draws.
Special rules
You may offer a draw only with two, only on your turn, instead of your move, and only after 4 moves by both players together. The turn passes to your opponent: they can only accept, decline or surrender. Declining gives the turn back to you. If your opponent does not answer within 30 seconds, the offer lapses and the turn returns to you — it does not cost them the game. You may offer again only after 4 more moves (usually two of yours).
You can surrender at any time, even when it is not your turn.
When the player to move runs out of time, the game waits for them: anyone else at the table can stop waiting with the Don't wait button. If the late player is offline, it is decided at once without the button. With two that is a loss, with three and four the player is out.
Elimination with three and four: whoever surrenders, leaves or loses on time is out and is skipped on later turns. The heaps stay as they are. If it was their turn, the next player moves with a fresh timer. A player who is out can no longer win.
If nobody moves for 10 hours, with two the player to move loses. With three and four the player to move is out and the others play on.
Differences from the standard Nim rules:
The heaps are fixed, always three of 3, 4 and 5 objects. Classic Nim is played with any heaps, a common set is 1, 3, 5 and 7.
Only the normal variant is played, whoever takes the last object wins. The misère variant, in which the last object loses, cannot be chosen.
Classic Nim is for two. Here three or four can also play in turn around the table, and whoever surrenders, leaves or loses on time is out.
Who moves first is not agreed on: player 1 always starts and the game draws the seats.
Every move has a fixed limit of 30 seconds.
With two a draw can be agreed on; classic Nim has no draws.
A game can also end by surrender, leaving, running out of time and after 10 hours of inactivity.
Taking any number of objects from a single heap and winning with the last object work the same as in classic Nim.
Tips
With two the nim-sum decides: write the heap sizes in binary and add them without carrying (XOR). If it is zero after your move, every move of your opponent breaks it and you can always restore it — then you take the last object.
The starting heaps 3, 4 and 5 have a nim-sum of 2, so the starting player has a winning move: take 2 from the heap of 3, leaving 1, 4 and 5 with a nim-sum of zero.
Two equal heaps can be mirrored — whatever your opponent takes from one, take from the other.
With three and four the nim-sum does not guarantee a win, the result also depends on the moves of the others. Watch the end above all: do not leave the next player a single non-empty heap, they would take it whole.
Screenshots
Start of the game: heaps of 3, 4 and 5. Player 1 is to move.Player 1 took 2 objects from the first heap, leaving 1, 4 and 5 with a nim-sum of zero. The dashed circles show the last take. Player 2 is to move.End of the game: player 1 took the last object from the second heap and won.