Skip to content
YALONGJS

RULES & PRACTICE

How to Play Nim

Play Nim ↗

Game guide · YALONGJS

Learn the rules of Nim

Use a short break to learn the rhythm of Nim. Remove the last counter on the board to win. Check the relevant rule before repeating a move. Keep the instructions close while learning this activity. Use the example below to understand a decision.

One thing to notice as you play

Compare the worked example with your own position. Use the reasoning, not an answer copied from a different board. Notice the feedback after each input.

Understand the aim

Remove the last counter on the board to win. The feedback beside the game helps you follow the round. Try to explain the aim in your own words.

How to proceed

  1. Player 1 chooses a pile.
  2. Remove at least one counter, and up to all counters, from that pile.
  3. The next player chooses a pile and an amount.
  4. Continue until no counters remain.

Getting comfortable with the controls

Use the on-screen controls with a mouse or touch. Use the control method described here for this activity. Look at the feedback after the action.

See the idea in action

If only one counter remains in one heap, taking it wins under the normal-play rule used here. Compare this with the rule that governs the move. Read the matching step again.

Avoid this misunderstanding

Only one pile may be changed per turn. Take a moment to reassess the position before continuing. Watch the feedback after an action. A message can explain whether the input was accepted or whether a rule needs attention.

Clarifying the way this game works

As a new player, what is the goal of Nim?

The key detail is this: Remove the last counter on the board to win.

For my first round, how do I control Nim?

Keep this in mind: Use the on-screen controls with a mouse or touch.

What example helps explain Nim?

The key detail is this: With piles of 1 and 2, a move may empty one pile, but cannot remove one counter from both in the same turn.

For my first round, what should I watch out for in Nim?

The key detail is this: Only one pile may be changed per turn.

When I return, what format does Nim offer?

The key detail is this: Play using the same-device two players mode shown on this page. Read the controls before starting a new round.

Which play mode does Nim use?

The mode on this page is Same-device two players. Same-device play uses one screen; this game library does not provide internet matchmaking.

For my first round, where should I start with Nim?

Here is the relevant explanation: Player 1 chooses a pile.

Do I need an account or a payment for Nim?

Here is the relevant explanation: No player account or payment is needed. Game scores are recreational results, not cash prizes.

When I return, how can I find Nim again?

Here is the relevant explanation: Use the Games list or save this game page in your browser bookmarks. The Guide is linked from the playing page.

Before I begin, how do I report an issue with Nim?

The key detail is this: Use the contact form and include the game name, browser, device and the actions that led to the issue. Do not send passwords or payment details.

Choose a Card Game (opens in a new tab)