Nim

Take stones from one pile and outthink the computer.

The game controls load automatically. No account is needed.

Our playing guide

Nim · How to play

Nim is about the combination of pile sizes, not simply removing many stones. This version alternates your moves with a computer over three piles.

Controls

Use the touch-friendly game controls. Detailed rules appear below the board.

Rules & goal

  • Take a positive number of stones from exactly one pile per turn.
  • You cannot take from two piles at once or skip a turn.
  • The player who takes the final stone wins.

Beginner tips

  • When only one pile remains, check whether you can take all of it.
  • Consider how the three sizes fit together rather than always choosing the largest pile.

Progress & devices

Play in a desktop or mobile browser using the controls above. Some games save only in the current browser; clearing site data can remove saves. Pause when stepping away. Reloading is not guaranteed to preserve the current round.

View game source & license · Report a problem