When a word is valid, display the word and the score for the word
In the subroutine HaveTurn:
if (ValidWord)
{ ValidWord = CheckWordIsValidBinary(Choice, AllowedWords); if (ValidWord) { Console.WriteLine(); Console.WriteLine("Valid word"); Console.WriteLine(Choice + ": " + GetScoreForWord(Choice, TileDictionary) + " points"); Console.WriteLine(); UpdateAfterAllowedWord(Choice, ref PlayerTiles, ref PlayerScore, ref PlayerTilesPlayed, TileDictionary, AllowedWords); NewTileChoice = GetNewTileChoice();
The line Console.WriteLine(Choice + ": " + GetScoreForWord(Choice, TileDictionary) + " points"); will display the word and its score.