Question: Python 3.6.5 Help Here is the input file: Description: Read the input file (words.txt) into a dictionary, and then pick a word randomly or sequentially,

Python 3.6.5 Help

Python 3.6.5 Help Here is the input file: Description: Read the input

file ("words.txt") into a dictionary, and then pick a word randomly or

Here is the input file:

sequentially, scramble it, and ask the player to guess it. Remember, the

Description: Read the input file ("words.txt") into a dictionary, and then pick a word randomly or sequentially, scramble it, and ask the player to guess it. Remember, the longer the words the more points s/he will score (ex: door 40 points, store 50 points, etc.) This program will run until the list is completely exhausted or the player enters "exit". After each round, this program will ask the player if s/he wants to continue the game. The player can also type "hint" to get the definition of the word. Requirements: Print some information about the game Pick a word randomly or sequentially, and scramble it . o The scrambled word must be different from the original word Display the word to the player, and ask the player to solve the scrambled word o Give the player 3 chances to guess the word o Display the word definition if the player asks for a "hint" o After each round, ask the player if s/he wants to continue the game o if the guess is correct print "Congratulation, you win" o if the guess is incorrect, print "Sorry, you didn't win" Display the player's final score at the end of the game

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!