Bagels is an early 1970s text-based computer game for BASIC designed by People's Computer Company similar to Mastermind (board game), in which one must guess a 3-digit number which the computer is "thinking of." The game appeared on page 10 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. Would you like the rules?Yes I am thinking of a three digit number. You can guess what number I have in mind and I will tell you: Pico - One digit is in the wrong place Fermi - One digit is in the correct place Bagels - No digit is correct Okay, I have a number in mind. Guess # 1 :370 Pico Guess # 2 :789 Bagels Guess # 3 :102 Pico Pico Guess # 4 :014 Fermi Guess # 5 :213 Pico Guess # 6 :025 Fermi Fermi Guess # 7 :026 You got it Again?no


