no its a guessing game similar to hangman. the user guesses and attempts to guess. displaying a phrase where asterisks are replaced "** ****"(go team)
each time the user guesses the letter,either places the letter in the spot or spots in the phrase and display again, or tell the user its not on the phrase,
congratulatory msg would then be displayed if entire phrase is correct
Okay, get it. So this is a console application where one person will be asked to input a string, then you have another person trying to guess by entering one character at a time to reveal the secret string displayed using asterisks for unguessed characters.
Each time a guess is made, one guess opportunity is consumed. If all opportunities are consumed and yet the secret string still isn't fully exposed, the guesser lose.
It's not very hard, you need to think about a few things
1) At any point of time, how do you know if a string is fully uncovered.
2) When a guess is made, how do you determined which part of the string to uncover and how do you represent it ? It can be external variables using arrays, can be done on the string itself, or other methods
3) How do you want to store the secret string ? Do you need to compare between a string that is currently been uncovered to the actual secret string ?
I think it will be wise if you attempt the question in how you understand, without any initial parts from you, it will be hard to start advising. If not, it will be as good as giving you answer, which you will not be learning anything.
If you have doubts, more specific questions, ask them. The idea is you need to be the one doing the handwork, our part is advising based on your understanding, using your codes as a means to guide.