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
| Guess | Result | comment |
|---|---|---|
| 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 |
| ... | (keep guessing) | |
| 092 | Fermi Pico Pico | all digits correct, 2 in wrong places |
| 029 | Fermi Fermi Fermi !!! | you won |
This version of Pico Fermi Bagels requires a browser with either NewtonScript support (Newt's Cape on 2.x Newton with i:General:NewtonScript:Compile preference) or "recent" JavaScript/JScript support; besides Newt's Cape, it has been tested with
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.