Example #1
0
 public Game()
 {
     WordToGuess       = RandomWordGenerator();
     CharactersToGuess = WordToGuess.ToCharArray();
     _lettersGuessed   = new List <char>()
     {
     };
     WrongGuesses = 0;
     Rightguesses = 0;
 }
Example #2
0
 public Game()
 {
     ClearAllGuesses();
     _visibleLetters = new List <string>()
     {
     };
     WordToGuess       = RandomWordGenerator();
     CharactersToGuess = WordToGuess.ToCharArray();
     AddBlanks();
     GuessMessage = "";
     WrongGuesses = 0;
     RightGuesses = 0;
     GameOver     = false;
 }