๐ฅข Nim: rules for kids
Nim is an ancient and simple math game: a few piles of sticks, and on each turn you take from one pile. It hides a mathematical secret you can learn.
How to play Nim
What you need
A few piles or rows of matchsticks, toothpicks, coins or pebbles, for example rows of 1, 3, 5 and 7.
How to play
Players take turns choosing one row and taking as many items from it as they like: at least one, and up to the whole row.
How to win
Whoever takes the very last item wins. In the reverse version, called misere, whoever takes the last item loses.
Questions and answers
Is there a sure way to win at nim?
Yes. Write the size of each row in binary and combine them with XOR (add each column of digits without carrying). If the result is zero after your turn, you are on track to win. It is one of the most famous results in game theory.
What can kids learn from nim?
Counting, planning ahead and spotting patterns. Older kids can use it as a fun first taste of binary numbers.