示例#1
0
 private void GetScore()
 {
     if (NormaliseAndValidateRoll())
     {
         var score = _yahtzeeScorer.MaxWithoutChance(Roll);
         MessageBox.Show(string.Format("The score is {0} (category {1})", score.Result, ConvertToText(score.Category)));
     }
 }