In python 3.6 1. Your game show needs a theme. Consider games like Family Feud, So you
Fantastic news! We've Found the answer you've been seeking!
Question:
In python 3.6
Transcribed Image Text:
1. Your game show needs a theme. Consider games like "Family Feud", "So you want to be a millionaire?", or "Are you smarter than a fifth grader?" The hook to each show is some kind of theme that makes the relatively simple trivia core seem more exciting. Simply adding some extra print statements can do a lot to add ambiance to your game. Edit the welcome message in the example above to reflect your theme. 2. Your game needs at least 10 questions. All of your questions should not have the same number of possible answers (i.e., some may have two answer to choose from while other may have four). Think about how your theme might reflect on the questions to the game. Don't use the two examples given above. 3. The questions should be given in random order and no question should be given twice. Lab Instructions 3 4. Add a "main menu" to your game where the user can (1) play the game, (2) view the game credits (i.e., who created the game), or (3) quit (be sure to thank the user for playing before exiting). The 'paly game' and 'view game credits' options should each be implemented as a function. After the user finishes answering all questions or viewing the credits, the main menu should appear again. 5. Update the example code so that when users pick an invalid letter or response (not a wrong answer, but an invalid selection such as 3 for a questions with only 2 possible answers), they are prompted to enter a valid answer before moving on. 6. Keep track of the users score and print the current score after each ques- tion. For example, "Your current score is: 2 out of 4." 1. Your game show needs a theme. Consider games like "Family Feud", "So you want to be a millionaire?", or "Are you smarter than a fifth grader?" The hook to each show is some kind of theme that makes the relatively simple trivia core seem more exciting. Simply adding some extra print statements can do a lot to add ambiance to your game. Edit the welcome message in the example above to reflect your theme. 2. Your game needs at least 10 questions. All of your questions should not have the same number of possible answers (i.e., some may have two answer to choose from while other may have four). Think about how your theme might reflect on the questions to the game. Don't use the two examples given above. 3. The questions should be given in random order and no question should be given twice. Lab Instructions 3 4. Add a "main menu" to your game where the user can (1) play the game, (2) view the game credits (i.e., who created the game), or (3) quit (be sure to thank the user for playing before exiting). The 'paly game' and 'view game credits' options should each be implemented as a function. After the user finishes answering all questions or viewing the credits, the main menu should appear again. 5. Update the example code so that when users pick an invalid letter or response (not a wrong answer, but an invalid selection such as 3 for a questions with only 2 possible answers), they are prompted to enter a valid answer before moving on. 6. Keep track of the users score and print the current score after each ques- tion. For example, "Your current score is: 2 out of 4."
Expert Answer:
Related Book For
Posted Date:
Students also viewed these programming questions
-
Python 3 Write a python program that generates 1,000 random integers between 0 and 9 and displays the count for each number (Hint: Use a list of ten integers, say counts, to store the counts for the...
-
Python Company leased equipment from Hope Leasing on January 1, 2011. Hope purchased the equipment at a cost of $222,666. There is no expected residual value. Required: Prepare appropriate journal...
-
Python Machine Company is considering the acquisition of a large equipment to set up its factory in a backward region for Rs. 1,900,000. The equipment is expected to have an economic useful life of...
-
The maker of a $10,000, 8%, 90-day note receivable failed to pay the note on the due date of June 30. What accounts should be debited and credited by the payee to record the dishonored note...
-
This information relates to Olaf Co. 1. On April 5, purchased merchandise from DeVito Company for $18,000, terms 2/10, net/30, FOB shipping point. 2. On April 6, paid freight costs of $820 on...
-
A photon is emitted when an electron in a three dimensional cubical box of side length 8.00 10 -11 m makes a transition from the n X = 2, n Y = 2, n Z = 1 state to the n X = 1, n Y = 1, n Z = 1...
-
What types of relevant evidence are excluded based on policy reasons? What are the policy reasons behind excluding such evidence?
-
The intangible assets section of Willingham Company at December 31, 2014, is presented below. Patents ($100,000 cost less $10,000 amortization) ...... $ 90,000 Copyrights ($60,000 cost less $24,000...
-
1. what are the activities involved for procument in building cryptocurrency? 2. what infrastructure you need in building cryptocurrency? 3. what is the role of human resources in building...
-
The following model is a simplified version of the multiple regression model used by Biddle and Hamermesh (1990) to study the tradeoff between time spent sleeping and working affecting sleep: sleep...
-
Out of the 6 building blocks of intelligence mentioned in the reading, which building block would help leaders the most and why?
-
(a) Draw the structures of each organic compound, indicating the stereochemistry where possible. 2-Cholro-3-Fluoro-2-methylpentanoyl bromide (5 marks) (i) (ii) 3-ethyl-2-methyl-4-oxopent-2-enal (iii)...
-
Assume the Earl Coffee Roasters Corp. ended the month of August 2022 with these data: (Click the icon to view the financial data.) Read the requirement. Prepare the income statement. Start with the...
-
Haruto has been working at a large law firm since he graduated from Boston University five years ago. Haruto has had many opportunities to think logically , critically, and creatively. These are the...
-
Warren Buffett has given approval for Berkshire Hathaway (BH) to enter into an arrangement with Lehman Brothers (LB) to lend $900 million to Williams, for a term of one year. Its well known to these...
-
If your charitable contribution exceed the limit (20%, 30%, etc.); then the excess amount : A. Is lost, Too bad B. Carries over to the next year, then it's lost C. Carries over for 5 years, then it's...
-
The unadjusted trial balance of Secretarial Services is as follows: SECRETARIAL SERVICES Unadjusted Trial Balance as at 31 December 2017 Account Debit Credit Cash at bank Office supplies Prepaid...
-
a. What is the complement of an event? b. What is the probability of the complement of an event?
-
What is a frame? What is its role in sampling?
-
Consider predicting annual salary from age, experience, and an interaction term. a. Create a new variable, interaction, by multiplying age by experience for each employee. b. Find the regression...
-
Aloha Properties is located at 4-356 Kuhio Highway, Suite A-1, Kapaa Kauai, HI 96746. Its phone number is 808-823-8375, and the corporation specializes in Hawaii Vacation Rentals. Its federal tax ID...
-
Santa Barbara Sailing Center is getting ready to start business July 1, 2015. He purchased the corporation from its previous owner for $50,000 and assumed the companys existing long-term debt of...
-
You have decided that the drone sales and rental business is ripe for expansion in the Pacific Northwest and have just opened for business January 1, 2017, doing business as a sole proprietor with...
Study smarter with the SolutionInn App