Board Strategy · Play now

Nim

Nim

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

Nim
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

  • Enter a count in one heap and press Enter or Take
  • Use New game to restart

Tips

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