Question: Java program: Hangman Game: Using Strings and strings methods, design a hangman game. You should have a list of words to choose from ( at
Java program:
Hangman Game: Using Strings and strings methods, design a hangman game.
You should have a list of words to choose from at least words between lengths of
and When each game starts it should choose a word from the list randomly.
Create a blank string with the exact size of your chosen word and fill it with underscores.
After each correct guess, place all of the occurrences of the correct letter in the blank
string and display itHint: Use substring method to reconstruct the blank string
If the user guesses a wrong letter, show a consolebased hangman illustrating the
progress. Show this illustration for correct guesses as well.
Please see the sample display below.
Note: You may create a method to display this illustration.
Keep all of the user guesses in an array of strings or chars and warn the user if they
entered the same letter again.
The game should repeat until the user guesses the word or loses the game. Allow users
to miss up to four or five letters.
Add one more feature of your own.
Good Luck and Have Fun!!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
