Nim is the classic mathematical strategy game played with rows of objects. Players take turns removing as many objects as they like from a single row, and the one forced to take the last object loses.
How to play Nim
- Look at the rows of objects on the board
- On your turn, remove one or more objects from a single row
- Take turns alternating with your opponent
- Avoid being the player forced to take the final object
Tips & strategy
- Plan ahead so your opponent is left taking the last piece
- Learn the balanced positions where rows cancel each other out
- Sometimes leaving a single object in a row sets up a trap
Controls: Click or tap objects to remove them from a row.
Nim — FAQ
Who loses in Nim?
In this misère version, the player forced to take the last remaining object loses.
Is there a winning strategy?
Yes, Nim has a known mathematical strategy based on balancing the rows, which you can learn through play.