- Trap (game)
"Trap" is a late 1980s text-based computer game for
BASIC designed byPeople's Computer Company similar to "Number", in which one must guess and "trap" a number from one to 100, which the computer is "thinking of." The game appeared on page 5 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 number from 1 to 100.Try to guess my number. Enter two numbers, tryingto trap my number by your two trap numbers. I'lltell you if you have trapped my number or if mynumber is smaller than your two trap numbers orif my number is larger than your two traps numbers.If I tell you that you have trapped my number, Imean that my number is *between* your trap numbersor - perhaps my number is the same as one of yourtwo trap numbers.
!!!Important!!! If you think you know my number, thenenter your guess as *both* trap numbers.
I'm thinking...thinking...Ah! I have a number!
First trap number?1
Second trap number?10
My number is larger than your trap numbers.
First trap number?20
Second trap number?11
My number is larger than your trap numbers.
First trap number?21
Second trap number?40
My number is larger than your trap numbers.
First trap number?41
Second trap number?60
My number is larger than your trap numbers.
First trap number?61
Second trap number?70
My number is trapped by your numbers.
First trap number?61
Second trap number?65
My number is larger than your trap numbers.
First trap number?66
Second trap number?68
My number is larger than your trap numbers.
First trap number?69
Second trap number?69
My number is larger than your trap numbers.
First trap number?70
Second trap number?70
You got it in 10 guesses...let's play again, lucky."
Wikimedia Foundation. 2010.