Exemplo n.º 1
0
        private string Guessed(char character)
        {
            var pWord = ProcessedWord.ToCharArray();

            for (int i = 0; i < Word.Length; i++)
            {
                if (Word[i] == character)
                {
                    pWord[i] = character;
                }
            }
            return(new String(pWord));
        }
Exemplo n.º 2
0
 internal bool IsWin()
 {
     return(!ProcessedWord.Contains('-'));
 }