Play now Co-op Guides

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:

  1. Players take turns removing any number of objects from ONE row
  2. Must take at least one object
  3. 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

Thumb War The 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. 5-10 min. Very Easy. One Word Story Build hilarious or heartfelt stories together, one word at a time. Zero prep, infinite possibilities—watch your shared narrative twist in unexpected directions. 10-20 min. Very Easy. Pictionary (Paper) Race against the clock to decode your partner's doodles in this timeless drawing game—no words allowed, just pure creative chaos and hilarious guessing. 20-30 min. Very Easy. Freeze Tag Improv Unleash your creativity in rapid-fire scenes where a frozen pose becomes the springboard for wildly different stories—pure improv chaos for two. 10-20 min. Very Easy. Alphabet Game Race 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. 10-20 min. Very Easy. Morra Lightning-fast mind games meet ancient strategy: Guess your combined fingers faster than your opponent in this timeless Roman duel of prediction and psychology. 5-10 min. Very Easy. Contact A 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. 10-20 min. Easy. Charades Silent storytelling meets quick thinking—act out movies, books, and wild scenarios while your partner races to guess. No props, no speaking, pure creative chaos. 10-20 min. Very Easy.

Want something different than Nim?

Answer 4 quick questions and we'll pick a game for tonight.

Find a game
No ratings yet

Sign in to rate this game