Example #1
0
 private bool CorrectCharGuess()
 {
     return(Guesses.Count(g => g is CharGuess && ((CharGuess)g).IsGoodGuess) == Word.Distinct().Count());
 }
Example #2
0
 /// <summary>
 /// Verifies if there are no more remaining users to make their guess in the current round.
 /// If no, the next round can begin.
 /// </summary>
 /// <returns>True if the next round can begin. False if there are still players that needs to play.</returns>
 internal bool HasHoRemainingUsers()
 {
     return(Guesses.Count() == Users.Count());
 }