Trap (game)
From Wikipedia, the free encyclopedia
Trap is a late 1980s text-based computer game for BASIC designed by People'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.
[edit] 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, trying to trap my number by your two trap numbers. I'll tell you if you have trapped my number or if my number is smaller than your two trap numbers or if my number is larger than your two traps numbers. If I tell you that you have trapped my number, I mean that my number is *between* your trap numbers or - perhaps my number is the same as one of your two trap numbers.
!!!Important!!! If you think you know my number, then enter 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."