Describe | Using | Example | Versions | Distribution | Author
PFB (Pico, Fermi, Bagels) is a number guessing game, similar to MasterMind or Jotto. For each guess, you will be told:
If Allow Zero = checked, Digits = 3, and PFB's number = 029
|376||Bagels||no digits correct|
|914||Pico||1 digit correct but in wrong place|
|820||Fermi Pico||2 digits correct, but 1 in wrong place|
|092||Fermi Pico Pico||all digits correct, 2 in wrong places|
|029||Fermi Fermi Fermi !!!||you won|
PFB is similar in concept and strategy to MasterMind and Jotto (but PFB does not allow duplicate digits). After I first saw "Pico Fermi Bagels" (PFB) as a Basic program at the Lawrence Hall of Science in Berkeley in the early '70s, I wrote several Logo versions. My kids convinced me it was easier to remember "Fermi" by "firm" (though some programs may reverse roles of Fermi and Pico). Here are a few other versions (PFB is a nice simple app to try in each new programming language/environment):
This version is free, and can be downloaded locally and mirrored in its entirety. If you copy/modify/improve the code, I would appreciate an acknowledgment of this version and link to this page.
© 1999-2000, S. Weyer. All Rights Reserved Worldwide.