Games

Nim

Take any number from one row. Last to take loses.
Starting Rows
Your turn
Tap a chip to pick what to take.
You
0
Streak
0
AI
0
  • Goal: Force the AI to take the last chip.
  • On your turn, pick one row and remove any number of chips from it (at least one).
  • Tap a chip — that chip and every chip to its right in the same row get selected.
  • Confirm with Take, or tap Cancel to change your mind.
  • Players alternate. Whoever is forced to take the last chip loses (misère Nim).
  • The AI plays perfectly — from a losing start it will never slip. Choose a configuration where you can win, and play exact moves.
  • Stuck? Tap Hint to see the best move for the current position (highlighted in orange).
  • Your winning streak is submitted to the leaderboard.