Question: And allowed data structures are including String array/StringBuilder And sample put would be like this This is what I have so far, Please use what

And allowed data structures are including String array/StringBuilder
And sample put would be like this


This is what I have so far,

Please use what I have and finish the code, and write it in java please, dictionary.txt is just a word list which don't think it matters a lot,
Thank you
(GAME: HANGMAN) Write a hangman game that randomly selects a word and prompts the user to guess one letter at a time, as presented in the sample run. Each letter in the word is displayed as an asterisk. When the user makes a correct guess, the actual letter is then displayed. When the user finishes a word, display the number of misses and ask the user whether to continue to play with another word. (Guess) Enter a letter in word >e (Guess) Enter a letter in word ee>a a is not in the word (Guess) Enter a letter in word ee>c c is not in the word (Guess) Enter a letter in word ee>d The word is reeligibility. You missed 7 times Do you want to guess for another word? Enter y or n>n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
