We use cookies
We use cookies and third-party services (including Google AdSense) to personalize content and ads. Learn more
Nim is one of the oldest mathematical games still played. Several piles of objects sit on the table. Players take turns removing one or more objects from a single pile. The player who takes the last object wins (in the most common version). It looks like a simple counting game. It is actually one of the most studied games in combinatorial game theory.
The fascinating thing about Nim is that it has a mathematically perfect strategy. If you know the XOR rule — adding pile sizes in binary — you can always win from a winning position. New players play instinct. Experienced players play maths. Beating a Nim AI is the moment you graduate from one to the other.
This browser Nim plays free with no sign-up. It works on phone with tap-to-remove and on desktop with click. Your win record is stored locally. It is one of the most genuinely educational games on the site — a five-minute game that teaches a real mathematical insight you can use forever.
Use arrow keys, WASD, the mouse or spacebar where the game requires it. Specific controls match the "How to play" steps above — each step describes the exact input the game expects.
Tap, hold, swipe or drag — whichever your finger naturally does for the action described in the steps. Nim is mobile-first and works in portrait or landscape on any modern phone or tablet.
Yes. Nim is completely free to play on GameJadoo. There are no charges, no in-app purchases and no hidden costs.
No download is needed. Nim is an HTML5 game that runs directly in your web browser — just open the page and play.
Yes. Nim works on phones, tablets and computers. Open it in any modern browser to start playing.
No sign-up or account is required. You can start playing Nim instantly.