Blog

Here’s an easy game to try with a friend. All you need is a pen and paper.

You will need

the number 86
The chooser picks a number in secret.
  • A person to play with
  • Piece of paper and a pen (optional)

What to do

There are two roles in this game. You will need one person to choose a number, and the other to guess it.

  1. The chooser picks a secret number between 1 and 100, and then tells the guesser to start guessing.
  2. The guesser should guess one number and say it out aloud.
  3. If the guess was too high, the chooser should say ‘too high’.
    A piece of paper with nmbers written: 1 > 5> 15> ... <98 <100
    The guesser can use previous guesses to help them with the next one.
  4. If the guess was too low, the chooser should say ‘too low’.
  5. The guesser keeps making guesses and getting replies until they guess right.
  6. Keep a count of the number of guesses it took to get to the secret number. Swap roles in the game, so the old guesser becomes the new chooser, and have another go.
  7. Try playing with numbers between 1 and 1000 or -100 and 100, or even try with no limits on the number.

What’s happening?

Some numbers and arrows drawn on a page: 1> 5> 15> 30> 60> 80> 85> !86! <87 <88 <90 <98 <100
Once the secret number is found, swap roles and try again.

Trying to guess a number between 1 and 100 with no clues is very hard. You would probably need a lot of guesses because there’s no way to know what the answer is. In this activity, you get a clue each time you make a guess and that makes the game a lot shorter (and more fun)!

This game is an example of an iterative process. You start by making a guess, and you get some information back about your guess. You then use that information to make a better guess.

Iterative processes are important in mathematics, but non-mathematicians also use them. For example, carpenters will cut a piece of wood almost to the right size, check how close they are, and then sand it down to fit perfectly. Of course, when you’re cutting wood, it’s always important to cut it a bit too long, because you can’t stick more wood on the end if you cut it too short!

Applications

A stable iterative process will keep getting closer to the right answer, but some of them get there faster than others. If you started guessing with 1, 2, 3 … when the answer was 87, then you’d get there eventually, but starting at 50 will get you there faster.

One of the best ways of playing ‘guess my number’ is by using a binary search. First, you need to work out the range of numbers that could be the answer – at the start of the game, the number is between 1 and 100. Then, make a guess that’s in the middle of the range – so your first guess would be 50. If it’s higher, your next guess will be the middle of 50 and 100 – so, 75 – and so on. This method will halve the range of numbers every time you use it, so you eliminate a lot of wrong answers very quickly. Using this strategy, you should be able to guess any number from 1 to 100 in only seven guesses!

More information

Play guess my number online

If you’re after more maths activities for kids, subscribe to Double Helix magazine!

Subscribe now! button

2 responses

  1. Sunil Avatar
    Sunil

    Halo

  2. Dolah A. Hamid Avatar
    Dolah A. Hamid

    Macam mana nak dptkan nombor 4d.. Esok 29/08/2018

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

By posting a comment you are agreeing to the Double Helix commenting guidelines.

Why choose the Double Helix magazine for your students?

Perfect for ages 8 – 14

Developed by experienced editors

Engaging and motivating

*84% of readers are more interested in science

Engaging students voice