Question
Your goal for this assignment is to create a playable Wheel of Fortune (Hangman) game in C++. You will need to create a secret word
Your goal for this assignment is to create a playable Wheel of Fortune (Hangman) game in C++. You will need to create a secret word for the user to try and guess one letter at a time.
First you need to ask the user to enter a letter. Then you'll check if that letter exists in your secret word. If it does exist, then you should tell the user and display the puzzle with the letter revealed. If the letter does not exist, then inform user the letter is not found. You will repeat this process until all the correct letters have been guessed or the user has entered 7 wrong letters.
An example of a winning game:
Wheel! Of!! Fortune!!!
Take a guess: _ _ _ _ _ _ _ _ _ _ _ Your guess: a There's an A! Take a guess: _ _ _ _ _ A _ _ _ _ _ Your guess: c Sorry, no C's. You have 6 wrong guesses remaining. Take a guess: _ _ _ _ _ A _ _ _ _ _ Your guess: a You already guessed A. ... Take a guess: P R O _ R A M M I N _ Your guess: g CONGRATS! You solved the puzzle: P R O G R A M M I N G
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started