예제 #1
0
        public void Start()
        {
            HasWon = false;
            this.GuessedCharsInWord = new List <char>();

            int wordPosition = new Random().Next(Vocabulary.Words.Length);

            this.WordToGuess = Vocabulary.Words[wordPosition].ToLower();

            HiddenWordToGuess = WordToGuess.Select(x => Constants.LETTER_PLACEHOLDER).ToArray();
        }