Question: PLEASE SOLVE IN JAVA Phase 2 - Hangman Create an application that has the following features: Allow the user to enter a secret word. The
PLEASE SOLVE IN JAVA
Phase 2 - Hangman
Create an application that has the following features:
Allow the user to enter a secret word.
The other user will guess the secret word by guessing letters.
The program will prompt the user by asking them to pick a letter or guess the word.
Each round print the secret word with the letters that have been guessed. With the unknown letters use *.
If the user guesses a letter that is not part of the word, notify the user. The user is only allowed 5 bad guesses during the game otherwise it is game over.
If the user guesses the wrong word then it is game over
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
