This program is an implementation of the classic game of hangman using Java, which uses the following specification:
- When the game starts, it chooses a random word from a list of words.
- The game then displays the word to guess, with only the first letter visible (e.g H____ for "HOUSE").
- The player starts with 10 attempts.
- The player is prompted to enter a letter they think might be in the word.
- If the letter is in the word, the game displays the word to guess, with the new letter visible.
- If the letter is not in the word, the game will display the same letters as before, and decrease the counter of remaining attempts.
- If the number of attempts reaches zero, the player loses.
- If the player finds all the letters in the word, they win.