Program to Simulate Word Guessing Game Assignment For this assignment, you will write a program that simulates a simple word-guessing game, similar to Han

Program to Simulate Word Guessing Game Assignment For this assignment, you will write a program that simulates a simple word-guessing game, similar

to Hangman (without the pictures) or television’s Wheel of Fortune (without the money and prizes).

Don't use plagiarized sources. Get Your Custom Essay on
Program to Simulate Word Guessing Game Assignment For this assignment, you will write a program that simulates a simple word-guessing game, similar to Han
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT!
Order Essay

The idea is that the program will think” of a secret phrase, and the user will try to discover the

phrase by guessing one letter at a time.

For the purposes of this assignment, your program can have a single secret phrase that it uses each

time the program runs. You may use any secret phrase you like, as long as it contains at least 15

characters, including at least one space (i.e., multiple letters)

After each guess, the program should show the current status of the user’s guesses, using
_ You should keep track of the number of guesses the user makes. (If a user re-guesses a letter
If, after the 20th guess, the user still hasn’t completely discovered the phrase, the program
If the user discovers the secret phrase by the 20th guess, you should display a congratulatory

dashes to indicates unguessed letters. For example, if the secret phrase is magical mystery tour

and the user has already guessed the letters b, y, and t, then the program should display:

——- -y-t–y t—

Any spaces in the phrase should automatically be included (i.e., the user doesn’t have to

guess them).

previously guessed, the new guess is still counted.)

should display a consolation message and end the game. The consolation message should

include the secret phrase.

message, along with the number of guesses the user took.

superadmin

Recent Posts

What is the easy difination of science | Quick Solution

Science is the pursuit and application of knowledge and understanding of the natural and social…

4 years ago

definition, values, meaning of such values and type of goods with such elasticity value …….. | Quick Solution

Clearly stating the definition, the values, the meaning of such values and the type of…

4 years ago

Acct 422 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

4 years ago

Acct 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

4 years ago

Macro Economics Question | Quick Solution

https://www.npr.org/sections/ed/2018/04/25/605092520/high-paying-trade-jobs-sit-empty-while-high-school-grads-line-up-for-university Click on the link above. Read the entire link and answer the questions below…

4 years ago

MGT 322 – Nora D | Quick Solution

All answered must be typed using Times New Roman (size 12, double-spaced) font. No pictures…

4 years ago