Пример #1
0
        public int Evaluate(Dictionary <int, int> diceCountByFaceValue)
        {
            int score = EvaluatorHelpers.HighestScoreForOAKGroups(diceCountByFaceValue, new List <int> {
                diceCountByFaceValue.Count
            });

            return(score == 0 ? 0 : score + 100);
        }
Пример #2
0
 public int Evaluate(Dictionary <int, int> diceCountByFaceValue)
 {
     return(EvaluatorHelpers.HighestScoreForOAKGroups(diceCountByFaceValue, new List <int> {
         2
     }));
 }