Question: Question 1 Create a hangman game. Use C++ string variable and object oriented principles. At least 2 classes must be used. Improve your game by

Question 1

Create a hangman game. Use C++ string variable and object oriented principles. At least 2 classes must be used. Improve your game by giving a short hint related to the correct word.

Output:

Question 1 Create a hangman game. Use C++ string variable and object

10 incorrect guesses left. Guess: Correct! ----wa- 10 incorrect guesses left. Guess: e Incorrect! -----a----- 9 incorrect guesses left. Guess: i Correct! -----a--i-- 9 incorrect guesses left. Guess: 0 Correct! --o--a--i-- 9 incorrect guesses left. Guess: u Incorrect! --o--a--i-- 8 incorrect guesses left. Guess: k Incorrect! --o--a--i-- 7 incorrect guesses left. Guess: P Correct! p-o--a--i-- 7 incorrect guesses left. Guess: r Correct! pro-ra--i-- 7 incorrect guesses left. Guess: a Correct! pro-ra--i-- 7 incorrect guesses left. Guess

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!