T TestsWorld
Lesson 1 of 7 Games and patterns ⏱ 4 min

The NIM game

🤔
Think first
Is there a secret way to always win a counting game?
🎯 In this lesson you'll learn
  • ✓Play NIM by thinking backwards
  • ✓Find safe numbers

Two players take turns. Each adds 1 or 2 to the total. Whoever reaches 10 first wins.

Think backwards:

  • If the total is 8 or 9 on your turn, you can reach 10. You win!
  • If the total is 7 on your turn, you can only make 8 or 9, and then your friend reaches 10. So 7 is a total you want to give your friend.
  • If the total is 6 on your turn, add 1 to make 7. Now you can win.

The safe totals to reach are 1, 4, 7 and 10: each is 3 more than the one before.

Try other targets like 11 or 12. Can you find the safe numbers?

👪 Parent tip: Play NIM to 10 with your child using a pile of 10 beans. Let them find the winning trick.

012345678910+3+3+3reach a green total and you can always winadd 1 or 2 each turn; first to 10 winson 7 your friend wins; on 6 add 1!

Tap the diagram to enlarge it

Reach 1, 4, 7 or 10 and your friend can never catch up.
📌 Remember these
  1. Add 1 or 2 each turn
  2. Safe totals: 1, 4, 7, 10
  3. Think backwards from the target
✅ Quick check
→