Write a C++ program for the classic hangman game - guess the word without getting more than 6 letters wrong. The user is informed of the number of letters in the word to be guessed. A wrong guess of the letter would cause additional part of the hangman figure to be drawn. A correct guess would cause the letter to be displayed at the appropriate position of the word.
The program should not accept repeated entry of the same letter. The user is to be informed through a message that this letter has already been guessed.
The word to be guessed is to be read from a text file.
The game ends when the word has been fully guessed or the user gets more than 6 letters wrong.
Design and implement at least one class in your program.
A possible output for your driver program is given below. The keyboard inputs by user are highlighted in yellow.
You are required to exercise to creativity in your program design. The output below serves only as a guide and you are expected to further enhance this output and provide additional features. Also, you should make your program as friendly as possible to the users.
Anyone can help me with this? Like a guideline to get started. I'm using visual studio and please teach me in C++ basic thx. I'll show u guys my hardwork if i got a guideline thx in advance