Пример #1
0
        public override void MainLoop()
        {
            string[] words = DataAccess.WordFinderWords(_wordsFile);

            UserInteraction.DisplayWordStats(words);

            for (int i = 0; words.Length > 1; i++)
            {
                string letters = UserInteraction.ReadLetters(i);
                words = words.Where(word => letters.Contains(word[i])).ToArray();
                UserInteraction.DisplayWordStats(words);
            }
        }