NIM ARENA

The oldest solved game · online duels with clocks and Elo

⚙ Game settings

+
Elo for online games between signed-in players
Spoiler: the winning strategy

▶ Play

Challenge someone online with these settings, or practise against the bot. The Hard bot plays perfectly: beat it by starting from a winning position and never slipping.

How to move

Click a stone to take it and every stone above it (click again or press Enter to confirm, Esc to clear). Moore's Nim: select in several piles, then confirm. Lasker's Nim: switch to Split and click where the pile breaks.

Nim was solved by Charles Bouton in 1901, and by the Sprague–Grundy theorem every impartial game is secretly a Nim pile. Every variant here has a known perfect strategy (open the spoiler under the rules), so speed and accuracy under the clock decide the game.
← Back to Game Portal