All you have to do is try to guess the randomly generated number the computer is thinking about in under 6 guesses and within 100 seconds. Your score is the time remaining once you guess the number, divided by the number of attempts taken - so you have to be speedy!
The basic idea is from Usborne's "Coding for beginners", but the rest is by me.