Exemple #1
0
 /// <summary>
 /// Displays a randomly assigned category.
 /// </summary>
 /// <param name="catphrase"></param>
 internal void DisplayCat(ICategorizedPhrases catphrase)
 {
     Console.WriteLine($"\n Your category today will be >>{catphrase.category}<< !!!\n");
 }
Exemple #2
0
        // private const string HardCodedPhrase = "abc";


        public Game(ICategorizedPhrases catphrase)
        {
            this.catphrase = catphrase;
            phraseBoard    = new PhraseBoard(catphrase.GetPhrase(catphrase.category));
        }