Nim
A deceptively simple math game where removing objects becomes a battle of wits. Master the hidden pattern and dominate your opponent in under 10 minutes.
2 players. 5-10 min. Easy.
You need: Any small objects.
How to Play
Setup: Arrange small objects (coins, matches) in rows: typically 1, 3, 5, 7.
Gameplay:
- Players take turns removing any number of objects from ONE row
- Must take at least one object
- Can take entire row if desired
Winning:
- Normal: Take the last object to win
- Misère: Take the last object to LOSE
Strategy: Math-based winning positions exist. In normal play, keep binary XOR of rows at 0.
About This Game
Remove objects from piles. Whoever takes the last one loses (or wins, depending on rules).
Est. 1901
History & Background
Nim is one of the oldest games of pure strategy, with origins tracing back to ancient China, where it was known as 'Jiǔ Duī Qī' (九堆棋). The game gained prominence in Western mathematics during the 19th century when European mathematicians began analyzing its perfect information structure. By the early 20th century, Nim had become a favorite subject of mathematical study, particularly after Charles L. Bouton published his groundbreaking analysis in 1901, revealing the game's mathematical underpinnings through binary number theory.
The game achieved cultural significance as a symbol of computational thinking and strategy. In 1951, the Ferranti Mark 1 computer famously defeated human players at Nim, making it one of the earliest examples of a computer game. This early success in artificial intelligence demonstrated that machines could master strategic decision-making, capturing public imagination during the early computer age.
Today, Nim remains celebrated in mathematical circles and casual gaming alike. It exemplifies the beauty of elegant game design—requiring no materials beyond small objects and fitting into a brief playing window, yet offering infinite depth for those willing to study its patterns. For two players seeking a quick intellectual duel, Nim continues to deliver pure strategic competition without luck or chance, making it the perfect gateway to combinatorial game theory.
Frequently Asked Questions
Can you play Nim with 2 players?
Yes! Nim is an excellent choice for 2 players — in fact, it's designed specifically for a duo. You'll get the full experience without any compromises.
How long does Nim take to play?
A typical game of Nim takes about 5-10 min. This can vary based on players' experience level and how quickly decisions are made.
What do you need to play Nim?
To play Nim, you need: Any small objects. That's it — no special equipment required.
Added 10 months ago. Updated 9 months ago. Browse more games
Similar Games
Want something different than Nim?
Answer 4 quick questions and we'll pick a game for tonight.
Sign in to rate this game