article

Number is an early 1970s text-based computer game for BASIC designed by People's Computer Company in which one must guess a number from one to 100, which the computer is "thinking of." The game appeared on page 2 of the book What to Do After You Hit Return or P.C.C.'s First Book of Computer Games.

A Sample Run of the Game


User input has been bolded. Computer output is in normal text.

I will think of a whole number from 1 to 100. Try to guess my number. After each guess, I will tell you if you have guessed my number or if your guess is too small or too big.

Ok, I have a number. Start guessing.

What is your guess?10

Too small. Try a larger number.

What is your guess?20

Too small. Try a larger number.

What is your guess?30

Too small. Try a larger number.

What is your guess?40

Too small. Try a larger number.

What is your guess?50

Too small. Try a larger number.

What is your guess?60

Too small. Try a larger number.

What is your guess?70

Too big. Try a smaller number.

What is your guess?69

Too big. Try a smaller number.

What is your guess?68

Too big. Try a smaller number.

What is your guess?67

You guessed it!!! Let's play again."

Trivia


It is possible to always win the game in at most 7 guesses.

 

This article is licensed under the GNU Free Documentation License. It uses material from the "Number (game)".

Home Pageartsbusinesscomputersgameshealthhospitalshomekids & teensnewsphysiciansrecreationreferenceregionalscienceshoppingsocietysportsworld