π² Nim
Take 1β3 counters. Whoever takes the last one wins. Sounds fair β it isn't, if you know the trick.
Your turn
The secret (spoilers)
The winning move is always to leave a count that is 1 more than a multiple of 4 (21, 17, 13, 9, 5, 1). The AI plays perfectly β unless you switch on easy mode. To beat it: make the first move, and every time the AI takes k, you take 4 β k.
159131721
Move log
π Runs in your browser Β· Nothing uploadedNo account Β· Free forever Β· Works offline
How to use Nim Strategy Trainer
- 1Open the tool β it runs entirely in your browser, nothing is uploaded.
- 2Enter or paste your input and follow the on-screen controls.
- 3Copy or download the result. Add it to Saved to find it again.