Question: Create a Hangman code using Java Use arrays, methods to create a hangman program that accesses a list of 10 words, and chooses one from
Create a Hangman code using Java
Use arrays, methods to create a hangman program that accesses a list of 10 words, and chooses one from random.
The user gets 5 tries to get the word right, the code should display the letters that were guessed correctly in their place in the word as well as the letters that were incorrect.
With each wrong guess, the code should display a new body part that is being "hanged"
Code ends with the completion of the word or the occurrence of 5 incorrect guesses
The code should not be complex
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
