Nim
NEW

Nim

Strategy

How good is it?

72.0K plays
Vs Computer

About Nim

Nim is a two-player game played with several heaps of sticks. On your turn you take as many sticks as you like from a single heap, and players alternate. The twist is in the goal: whoever is forced to pick up the very last stick loses the game.

It looks like a casual game of chance, but Nim is famous for being completely solved. Mathematicians worked out a perfect strategy in 1901, and it rests on a piece of binary arithmetic. That hidden depth is the fun of it. The rules are trivial, yet a player who knows the secret can win from the right positions every single time.

You can play Nim free in your browser against the computer with no download. You will understand the rules in seconds, and beating the easier levels is straightforward. The higher levels play the perfect strategy, so out-thinking them is a real accomplishment, and it means you have effectively done the math in your head.

Popular right now ๐Ÿ”ฅ

All โ†’