User Tools

Site Tools


bagels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
bagels [2021/05/24 13:50] frchrisbagels [2021/06/01 11:17] (current) frchris
Line 2: Line 2:
  
 [[https://sites.math.washington.edu/~mathcircle/mmc/mmc2010/PicoFermiBagel.pdf|U of Washington Description]] [[https://sites.math.washington.edu/~mathcircle/mmc/mmc2010/PicoFermiBagel.pdf|U of Washington Description]]
 +
 +[[https://mathorama.com/gsp/PicoFermiBagel%20Puzzles.pdf|Some PFB Puzzles]]
  
 The computer picks a 3-digit number at random in which no two digits are the same. The user must guess the number. If the human has a correct digit in the correct position then the computer displays “Fermi”. If the human has a correct digit in the wrong place then the computer displays ‘Pico’. If none of the human’s digits are in the computer’s number then the computer displays ‘Bagels’. Keep track of the number of guesses it takes for the human guess the computer’s number. The computer picks a 3-digit number at random in which no two digits are the same. The user must guess the number. If the human has a correct digit in the correct position then the computer displays “Fermi”. If the human has a correct digit in the wrong place then the computer displays ‘Pico’. If none of the human’s digits are in the computer’s number then the computer displays ‘Bagels’. Keep track of the number of guesses it takes for the human guess the computer’s number.
 +
 +{{ ::picofermibagel.java |PicoFermiBagel.java}} starter code.
  
 What else? What else?
-  - Make the game with 4 or more digits +  - Make the game with (4 or more) non-repeating digits 
-  - Cake you make a player that uses the best guesses and find the optimal strategy?+  - Make the game with 3 (or more) digits, where a repeated digit is allowed. 
 +  - Cake you make a version where the computer is the player that guesses your number? Can you find the best strategy? 
 +  - Make the game ask which version on the game at the beginning 
 +  - Make the computer play against the play to see who gets it first.
   - Can you make it more like [[https://www.youtube.com/watch?v=dMHxyulGrEk|Mastermind]] that has Four colors rather than 10 digits, but the colors can repeat?   - Can you make it more like [[https://www.youtube.com/watch?v=dMHxyulGrEk|Mastermind]] that has Four colors rather than 10 digits, but the colors can repeat?
  
bagels.1621878653.txt.gz · Last modified: 2021/05/24 13:50 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki