REMINDER: There is no class on Sunday (7/24)
Homework:
Finish the game. Here are some specific instructions.
- Print the Pico Fermi Bagel output from the getClue function
- Check special case 1: if the guess matches the secretNum (exit all while loops)
- Reduce number of guesses by 1 each turn
- Check special case 2 outside of the while loop "while numOfGuesses > 0:"
- Set game = False in either special case
- Try running and debugging your finished code. If you can't seem to figure what's buggy, check against the completed code
Resources:
Slides:https://docs.google.com/presentation/d/1D6y1vuHr2LdxzM0r1PLLHs0QPESfuiLO8Gn_gB_LHnA/edit?usp=sharing
Class code: https://replit.com/join/ycfkxwycuv-shravyas
Pico Fermi Bagel Game Code (Completed): https://replit.com/join/ovchorqkie-shravyas
You can always email us at shravyassathish@gmail.com (mentor) or kingericwu@gmail.com (TA) or message us on Discord if you have any questions about the homework or what we covered in class.
https://replit.com/@DarrinLin/Week6Day2Class#main.py