Free tools & games for everyone
Free · No sign-up · No accounts
Play Nim: take counters from one row at a time. Normal or misere rules, optional take limit, and a perfect computer you can learn to beat.
| Tab | Move between the buttons |
|---|---|
| Enter or Space | Press the focused button |
| Tap | Tap a button |
Nim is an ancient counter game and the starting point of combinatorial game theory: Charles Bouton worked out the complete winning strategy in 1901. Our perfect computer uses the nim-sum (and an exact search for misere play with a take limit). The tests compare every winning move against an independent exhaustive search of the game tree on thousands of positions. Everything runs in your browser.
A fresh daily puzzle every morning, and new tools added every month.
Browse every product