Summary

Dr Angus McAndrew shows you through the sticks game.
school Degree program
label Research theme

Research themes

This activity is part of our Science Lab series. Check out the ANU Science Lab for more experiments! In this activity, you will play a simple two-player game using a pile of sticks. As you play, you will look for patterns and discover how mathematics can help you develop a winning strategy. The aim of the challenge is to be the player who picks up the very last stick from the pile. Watch the video above to see how it is done.

Materials

For this activity, you will need:

  • 11 to 20 small sticks, craft sticks or pencils
  • A partner

How to play the sticks game

Step 1: Set up the game

  1. Place 11 sticks in a pile on the table.
  2. Decide who will go first.
  3. The aim of the game is to be the player who takes the last stick.

Step 2: Take turns taking sticks

  1. Players take turns removing sticks from the pile.
  2. On each turn, a player must take 1, 2 or 3 sticks.
  3. Players cannot skip a turn.
  4. Players cannot take more than 3 sticks at a time.
  5. Continue until all the sticks have been taken.
  6. The player who takes the final stick wins.

Step 3: Look for a pattern

  1. Play several rounds of the game.
  2. Try different opening moves.
  3. Record which strategies seem to work best.
  4. Can you find a way to guarantee a win?

How does it work?

At first, the sticks game seems like a game of luck. But after a few rounds, you may start to notice a pattern.

Because players can only take 1, 2 or 3 sticks on each turn, groups of 4 become important.

Imagine there are 4 sticks left in the pile. No matter what the next player does:

  • If they take 1 stick, 3 remain.
  • If they take 2 sticks, 2 remain.
  • If they take 3 sticks, 1 remains.

The other player can always take the remaining sticks and win.

The same idea works for larger piles. If you can leave your opponent with 8 sticks, then 4 sticks, and finally 0 sticks, you can control the game all the way to the end.

For a game starting with 11 sticks, the first player can take 3 sticks straight away, leaving 8. After that:

  • If the other player takes 1 stick, take 3.
  • If the other player takes 2 sticks, take 2.
  • If the other player takes 3 sticks, take 1.

Together, the two moves always remove 4 sticks.

By repeating this pattern, you can keep leaving your opponent with a multiple of 4 and eventually take the final stick.

This game is an example of mathematical strategy. Rather than trying to predict what your opponent will do, you can use number patterns to put yourself in a winning position.

Science fair project: Take it further

Once you have mastered the basic game, investigate how changing the rules affects the winning strategy.

  • Start with different numbers of sticks. Which starting numbers seem to favour the first player?
  • Change the rules so players can take 1, 2, 3 or 4 sticks each turn. Which number becomes important now?
  • Change the objective so that the player who takes the last stick loses. How does the strategy change?
  • Try starting with 20, 30 or 50 sticks. Can you still find a winning pattern?
  • Create three separate piles of sticks and allow players to take any number of sticks from a single pile on each turn. Can you develop a strategy for winning?
  • Create a table to record your results. Can you predict which player should win before the game even begins?

Enjoyed this experiment? Explore more hands-on activities on the Science Lab ANU YouTube channel.

Asset type
Science at home

Related content

Subscribe to receive new experiments as they become available