Describe | Using | Example | Versions | Distribution
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|
Let me know about your experience with other browsers.
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). PFB is a nice simple app to try in each new programming language/environment.
Last updated: 21 Jun 2005: updated syntax via JSLint and tested with newer browsers
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-2007, S. Weyer. All Rights Reserved Worldwide.