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.
Sign in to rate this game
What You'll Need
About This Game
Remove objects from piles. Whoever takes the last one loses (or wins, depending on rules).
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.
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.
Similar Games
Thumb War
No MaterialsThe ultimate hand-to-hand duel that requires zero setup—just two hands, a chant, and lightning-fast reflexes. Pure competitive chaos in under 10 minutes.
One Word Story
No MaterialsBuild hilarious or heartfelt stories together, one word at a time. Zero prep, infinite possibilities—watch your shared narrative twist in unexpected directions.
Pictionary (Paper)
No MaterialsRace against the clock to decode your partner's doodles in this timeless drawing game—no words allowed, just pure creative chaos and hilarious guessing.
Freeze Tag Improv
No MaterialsUnleash your creativity in rapid-fire scenes where a frozen pose becomes the springboard for wildly different stories—pure improv chaos for two.
Contact
No MaterialsA mind-bending word game where you outsmart your opponent by thinking of words they can't guess. Perfect for two players who love wordplay, lateral thinking, and psychological games.
Alphabet Game
No MaterialsRace against your opponent through the alphabet in this lightning-fast word game that tests vocabulary and quick thinking—no materials needed, just your wits and 10 minutes.
Morra
No MaterialsLightning-fast mind games meet ancient strategy: Guess your combined fingers faster than your opponent in this timeless Roman duel of prediction and psychology.
Charades
No MaterialsSilent storytelling meets quick thinking—act out movies, books, and wild scenarios while your partner races to guess. No props, no speaking, pure creative chaos.
Explore More Games
Discover the most popular two-player games or browse by category.