Board Strategy · Play now

Nim

Nim

Take stones from three piles in turn; take the last stone to win.

Nim cover
Loading game…

HOW TO PLAY

How to play Nim

On each turn, take at least one stone from a single pile. Play against the computer and use the XOR strategy to find winning positions.

Controls

  • Choose a pile and how many stones to take; confirm your turn
  • R or the on-screen button: restart

Tips

  1. Watch the XOR relationship between the three pile sizes.
  2. Rules and control hints are shown in the game.