Question: How would I Write a Python Module that: Picks 1 5 places from the list on the a Wikipedia page ( Where in the World
How would I Write a Python Module that:
Picks places from the list on the a Wikipedia page Where in the World is Carmen Sandiego? and use an appropriate data structure to track the following for each place:
Country name of the country
City name of the city
Fact pertinent fact about that city or country
Use an appropriate data type to track the number of incorrect guesses.
Use an appropriate data type to track the number of correct guesses.
Use a custom method to display a welcome screen with the name of the game and a high score table showing the players names & scores.
This should load automatically when the program starts and should show again when the game is over after displaying the players result
Should have two options: New Game or ExitQuit
For the High Score table the point values are up to you, just make sure to indicate how your game was scored in your code via comments
When New Game is selected from menu:
Use an appropriate data type to store the players name after getting it from them
Use a loop to keep the game running until the user meets one of these conditions:
enters an appropriate sentinel value make sure to indicate the sentinel value clearly each time it could be entered
makes five incorrect guesses
gets five correct answers.
The program should randomly select one of the places, display the clue for it and ask the user where Carmen is headed using a multiplechoice question
Use other places from the list as possible choices
Make sure the correct answer is in a different position each time
Make sure it does not select the correct destination twice
Use an appropriate data structure to track where Carmen went each day
Use an appropriate data structure to track the incorrect guesses
After one of the stop conditions is encountered, the program should display an appropriate message about catching her, letting her escape or Carmen getting away with Dukes helmet and display the players name and score.
Update the high scores with the new information for future plays
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
