Question: Develop a console - based Hangman game. Hardcode ten ( 1 0 ) words of up to eighth ( 8 ) letters into your program.
Develop a console
based Hangman game. Hardcode ten
words of up to eighth
letters into your program. Create a class for managing the game logic, including tracking the word to guess, letters guessed, and remaining attempts. Use arrays or ArrayLists for letters and implement methods for checking wins
losses
Display the game as follows:
Example for the word EXAM:
X A
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
