NIM

NIM

OnlineRealGames

NIM icon

NIM

About the game

NIM is a digital version of one of the oldest two-player mathematical games in the world, which is said to be of Chinese origin. In this version the game is played with three unequal piles of apples, labelled A, B and C, and you play against the computer. The rules are simple: you and the computer take turns, and on each turn you pick any number of apples from one single pile. Whoever is forced to take the last apple is the loser, because that player has to eat the rotten apple. There is a catch that makes the game a real brain teaser. The computer knows a winning strategy based on binary numbers, which is why you are allowed to start the game every time, and your task is to work out how to play so that the computer ends up with the last apple. To make a move you select pile A, B or C and the number of apples from the panel on the right of the screen, and if you try to take more apples than the pile contains an error message appears with its own sound. A timer shows minutes and seconds while you think, and a Solution screen is available if you want to see how the game can be won. Sound effects mark picking apples, winning with a cheerful bravo and the computer winning, and a congratulations or game over screen ends each round. The game asks for your name, includes a Rules screen with the full explanation, and runs in a 580 by 440 window, which makes NIM a clever pick for visitors who enjoy logic, maths and strategy.

How to play

  1. Step 1 Read the Rules screen to learn that whoever picks the last apple loses.
  2. Step 2 Enter your player name and start the game; you always move first.
  3. Step 3 Look at the three piles of apples (A, B and C) and decide which pile to take from.
  4. Step 4 Select the pile and the number of apples from the right of the screen; do not choose more than the pile holds, or an error appears.
  5. Step 5 Watch the computer take its turn, and keep the timer in mind as you plan your next move.

NIM FAQ

Is NIM free to play?

Yes. NIM is free to play online at OnlineRealGames. It runs right in your browser, with no download, no install and no sign-up.

Can I play NIM on my phone or tablet?

NIM is a classic Flash game played through a safe emulator, so it plays best on a desktop or laptop with a keyboard and mouse.

What kind of game is NIM?

NIM is listed under Puzzle, Strategy and Classic on OnlineRealGames. For more like it, browse our free online Puzzle games. See all Puzzle games.

How do I start playing NIM?

Press Play Now at the top of this page and the game loads instantly. Then: Read the Rules screen to learn that whoever picks the last apple loses.

What games are similar to NIM?

If you like NIM, try Math Quest, Jewelanche 2 and Robo Fix Master — all free to play on OnlineRealGames.

Comments

QR code to open NIM on your phone

Play on mobile

Scan to continue playing NIM on your phone or tablet — no download needed.

Games Like This