subject

Here are the requirements for your game: 1. The computer must select a word at random from the list of avail- able words that was provided in words. txt. The functions for loading the word list and selecting a random word have already been provided for you in ps3 hangman. py. 2. The game must be interactive; the flow of the game should go as follows: • At the start of the game, let the user know how many letters the computer's word contains. • Ask the user to supply one guess (i. e. letter) per round. • The user should receive feedback immediately after each guess about whether their guess appears in the computer's word. After each round, you should also display to the user the par- tially guessed word so far, as well as letters that the user has not yet guessed. 3. Some additional rules of the game: • A user is allowed 8 guesses. Make sure to remind the user of how many guesses s/he has left after each round. Assume that players will only ever submit one character at a time (A-Z). • A user loses a guess only when s/he guesses incorrectly. • If the user guesses the same letter twice, do not take away a guess - instead, print a message letting them know they've al- ready guessed that letter and ask them to try again. • The game should end when the user constructs the full word or runs out of guesses. If the player runs out of guesses (s/he "loses"), reveal the word to the user when the game ends.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:00
This statement accurately describes how headlines should be placed in business documents.
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
question
Computers and Technology, 24.06.2019 16:30
Which program can damage your computer?
Answers: 1
question
Computers and Technology, 24.06.2019 17:40
Create a file called favorite_foods, and list your favorite foods, entering five or six or more. press enter after each favorite food so it appears on its own line (make certain you also press enter after the final food item). after the file is created, add two more foods you like that are not on the list (press enter after the final food item). view the list of foods to make certain the two items you added appear at the end of the list
Answers: 2
You know the right answer?
Here are the requirements for your game: 1. The computer must select a word at random from the list...
Questions
question
Mathematics, 11.11.2020 04:30
question
History, 11.11.2020 04:30
question
Mathematics, 11.11.2020 04:30
question
SAT, 11.11.2020 04:30
question
World Languages, 11.11.2020 04:30
Questions on the website: 13722361