by: Paul_Edwards99 • 0
Is a numerical guessing game. After loading, press the GENERATE button and the program will randomly select a prime number between 1 and 100. The GENERATE button will be greyed out until the game is finished, and the GUESS button will become active. Enter a number between 1 and 100 into the box using the numeric keypad and press GUESS. Be careful to select prime numbers otherwise you will waste a go. The program will flash up one of three messages: TOO HIGH, TOO LOW or CORRECT. The aim of the game is to guess the number in the minimum number of attempts.
If you employ the correct strategy then you should be able to guess correctly within 7 attempts. Hint: think about binary search techniques.