Game guide · SYNTAXCODER
Nim: rules and examples
Choose a round of Nim and settle into its rules. Remove the last counter on the board to win. Keep the game area visible while you use its controls. Keep the instructions close while learning this activity. Choose a clear next step rather than rushing through the instructions.
Something to practise
Locate the buttons and input area before beginning a long round. Use the on-screen labels to avoid an accidental restart. Keep the objective visible.
What you need to achieve
Remove the last counter on the board to win. Use the instructions to see which actions move you towards it. Start with a deliberate move.
From the start of a round
- Player 1 chooses a pile.
- Remove at least one counter, and up to all counters, from that pile.
- The next player chooses a pile and an amount.
- Continue until no counters remain.
How your actions work
Use the on-screen controls with a mouse or touch. Read a button’s label before selecting it. Make sure you are interacting with the game rather than the surrounding page.
One way to understand the rules
With piles of 1 and 2, a move may empty one pile, but cannot remove one counter from both in the same turn. Use the example as a guide rather than a substitute for reading your board. Check the stated objective.
Watch out for this
Only one pile may be changed per turn. Check the rule before repeating the action. Watch the feedback after an action. A message can explain whether the input was accepted or whether a rule needs attention.
If you are unsure
Before I begin, what is the goal of Nim?
For clarity: Remove the last counter on the board to win.
For this browser game, how do I control Nim?
For clarity: Use the on-screen controls with a mouse or touch.
As a new player, what example helps explain Nim?
With heaps of 1, 2 and 3 counters, choose one heap and remove at least one counter from it. You cannot take from two heaps in the same turn.
As a new player, what should I watch out for in Nim?
Keep this in mind: Only one pile may be changed per turn.
Before I begin, what format does Nim offer?
Keep this in mind: Play using the same-device two players mode shown on this page. Read the controls before starting a new round.
While reading the Guide, which play mode does Nim use?
Here is the relevant explanation: The mode on this page is Same-device two players. Same-device play uses one screen; this game library does not provide internet matchmaking.
Where should I start with Nim?
For clarity: Player 1 chooses a pile.
On this playing page, do I need an account or a payment for Nim?
For clarity: No player account or payment is needed. Game scores are recreational results, not cash prizes.
On this playing page, how can I find Nim again?
Use the Games list or save this game page in your browser bookmarks. The Guide is linked from the playing page.
For my first round, 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.