Example #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);
        }
Example #2
0
 public int Evaluate(Dictionary <int, int> diceCountByFaceValue)
 {
     return(EvaluatorHelpers.HighestScoreForOAKGroups(diceCountByFaceValue, new List <int> {
         2
     }));
 }
Example #3
0
 public int Evaluate(Dictionary <int, int> diceCountByFaceValue)
 {
     return(EvaluatorHelpers.ScoreForFaceValue(diceCountByFaceValue, 2));
 }
 public int Evaluate(Dictionary <int, int> diceCountByFaceValue)
 {
     return(EvaluatorHelpers.SequenceScore(diceCountByFaceValue, 1, diceCountByFaceValue.Count));
 }