Vintage box cover of "The Amazing Dr. NIM" game, featuring a cartoon man in a red robe and a playful depiction of the game with marbles and levers, with text describing it as a plastic computer game where you try to beat the game at Nim. Marked as made by E.S.R. INC. in 1965, USA.
| | | |

Nim

Nim

Nim is a two-player mathematical game of strategy where players take turns removing objects from distinct piles. The game is said to have originated in China, where it closely resembles the Chinese game of “picking stones,” but the origin is uncertain. The game has been played for centuries in Africa and Asia, where it is called mancala. The game was first recorded in Europe in the 15th century and was originally known as Tsyanshidzi, meaning “picking stones game”.

Why is Nim Popular?

Nim is significant because it is a simple game that can be used to teach mathematical concepts such as binary numbers and game theory. It was also one of the first-ever electronic computerized games, and a nim-playing computer was displayed at the Festival of Britain in 1951.

Game Components of Nim

Objects to be removed, such as stones, coins, or matchsticksPiles to hold the objects

Game Setup of Nim

Objects are placed in pilesThe number of piles and objects in each pile can vary

Gameplay Mechanics of Nim

Players take turns removing objects from one pile at a timeA player must remove at least one object on their turn but may remove any number of objects provided they all come from the same pileThe game can be played in “normal” mode, where the player who removes the last object wins, or “misère” mode, where the player who removes the last object loses

Game Objective of Nim

The objective of the game is to be the player who removes the last object from the last pile.

We are supported by our audience. When you purchase through links on our site, we may earn an affiliate commission, at no extra cost for you. Learn more