In Chapter 7, you created a Secret Phrase game similar to Hangman, in which the user guesses letters in a partially hidden phrase in an attempt to determine the complete phrase. Modify the program so that:
The phrase to be guessed is selected randomly from a list of at least 10 phrases.
The clue is presented to the user with asterisks replacing letters to be guessed but with spaces in the appropriate locations. For example, if the phrase to be guessed is “No man is an island,” then the user sees the following as a first clue: ** *** ** ** ******
The spaces provide valuable clues as to where individual words start and end. l Make sure that when a user makes a correct guess, all the matching letters are filled in, regardless of case.
Save the game as SecretPhrase2.java.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.