/// <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"); }
// private const string HardCodedPhrase = "abc"; public Game(ICategorizedPhrases catphrase) { this.catphrase = catphrase; phraseBoard = new PhraseBoard(catphrase.GetPhrase(catphrase.category)); }