Skip to content
Colours
Log inSign up

Nim

  • 2 players

game of strategy

About this game

Nim is a two-player mathematical combinatorial game published by Bartl, in which players take turns removing objects from heaps.

You and your opponent face a set of separate heaps or piles of objects. Depending on the version you play, your aim is either to avoid taking the last object or to be the one who takes it.

The heart of the game is a simple rule for each turn: you must remove at least one object, and only from one heap or pile. Because the heaps are distinct, the choice of which heap to touch matters.

On your turn you pick one heap and take as many objects from it as you wish, as long as you take at least one. You cannot spread a single move across several heaps.

The winner is decided by the version in use: one form rewards whoever avoids taking the last object, while the other rewards whoever takes it.

The game exists in versions that differ in their winning condition, namely avoiding the last object or taking it.

Nim holds a special place in mathematics, since the Sprague–Grundy theorem reduces every impartial game to an equivalent one-pile version of nim.

People's review

Rating

Rating 6.0 out of 10

Mixed

7 ratings, out of 10

Complexity

Complexity 1.5 out of 5

Medium light

12 votes, out of 5

Recommendations

Best with
No vote yet
Age
No vote yet
Language
No vote yet

Photos

  • Components

Rules

Videos

Music

Comments

Related games

Get this game from the API

curl https://api.theboardgamedb.com/v1/games/0eafeb92-d342-4c3e-b661-c8468eb06229

Last updated 25 November 2026

Rank

Rank 27,093

#27,093 overall

#17 in strategy game