Nim Game Online
Play the Nim game online against the computer. Take stones from one pile each turn, choose a difficulty, and explore last-stone and limited-take rules.
Board strategyHow to play
- Each turn removes stones from one pile only. Select a pile, adjust the amount with plus or minus, and confirm the move.
- The computer moves after you; by default, whoever takes the last stone wins.
- The bottom controls switch to last-stone-loses or a three-stone limit; changing a rule restarts the game.
Playing tips
Select one pile, adjust how many stones to take, and confirm your move. The computer then takes its turn. Under the default rule, the player taking the final stone wins. Check the active rule before planning your next move.
Only one pile can change in a turn. Try the last-stone-loses and limited-take variants using the board controls. Switching a rule or difficulty starts a new round.
Board strategy
- Dots and Boxes — Draw the last edge to claim a little square.
- Hex — Connect your two sides with a chain of pieces.
- Code Breaker — Read the feedback and crack the four-color code.