YayPlays

How to play

Nim Sticks: Choose a level
1Choose a level
Nim Sticks: In play
2In play

Controls

TapKeyboard←→↑↓ Space H
  1. Tap a stick to take it and every stick to its right, then tap TAKE.
  2. Turn every light green to stay safe.
  3. Keys: arrows pick, Space takes, H hints.

Nim Sticks: the 8-4-2-1 trick, the misère exception, and playing the owl without the lights

Rows of matchsticks; on your turn take any number of sticks from one row. On normal levels whoever takes the last stick wins; on misère levels whoever takes it loses. You always move first, and every level starts in a position you can win, but only with the right move each turn. We played levels 1 to 20 with the classic Nim rule below, against rivals whose accuracy rises from 10% to 100%. We won all 20, with every move marked safe.

The trick

  1. Write each row as bundles of 8, 4, 2 and 1 (6 is 4 + 2, 7 is 4 + 2 + 1).
  2. For each bundle size, count how many rows contain it.
  3. A position is safe to hand over when every bundle size appears an even number of times. The four lights under the grid show exactly this: green means even.
  4. On your turn, take from one row so that all four lights turn green (ALL GREEN!). Whatever the rival does breaks the pattern, and you restore it.
Level 4 against the Pond Frog: rows of 0, 4 and 6. Taking 2 from the 6 leaves 4 and 4, and every light turns green.
Level 4 against the Pond Frog: rows of 0, 4 and 6. Taking 2 from the 6 leaves 4 and 4, and every light turns green.

Misère levels

When the last stick loses, play exactly the same way until the move that would leave only rows of single sticks. At that point leave an odd number of single-stick rows, so the rival is forced to take the very last one (the game says Leave an odd number of 1s!). In our run levels 7, 9, 11, 12, 14, 16, 18 and 20 were misère, and the same rule with that one change won each of them.

Every move safe, even against the Old Owl

A rival at 100% accuracy never gives a position back, so on the owl's levels one unsafe move would have lost. On level 19 (rows of 1, 4, 4 and 9) the first move had to be taking 8 from the row of 9.

LevelsRivalRival accuracyHelpers on screenResult
1 to 6Pond Frog10% to 40%bundles, bit grid, lightswon, every move safe
7 to 12Night Raccoon50% to 70%grid and lightswon, every move safe
13 to 18Clever Fox75% to 90%lights onlywon, every move safe
19, 20Old Owl100%nonewon, every move safe
Level 19 against the Old Owl, no helpers: rows of 1, 2, 4 and 1. Taking 2 from the row of 4 leaves 1, 2, 2, 1, every bundle paired.
Level 19 against the Old Owl, no helpers: rows of 1, 2, 4 and 1. Taking 2 from the row of 4 leaves 1, 2, 2, 1, every bundle paired.

Worlds, stars and controls

  • 24 levels in four worlds. The helpers fade out world by world: grid and ghost hand, then grid only, then lights only, then nothing (HINT can peek, but caps the level at two stars).
  • Winning earns a star, winning without HINT a second, and winning with every move safe the third.
  • Tap a stick to select it and everything to its right, then TAKE. Keys: Up/Down pick the row, Left/Right the count, Space takes, H hints.

Questions

Is there always a winning move for me?
Every level starts in a position the first player can win, and you always move first. After a mistake the rival can take that away.
What changes when the last stick loses?
Only the ending: when every remaining row would be a single stick, leave an odd number of them instead of an even number.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.