Example #1
0
        public static int CalculateMaxScore(int count, int startConsecutiveCount, ScoreConfig config)
        {
            int numForTri = count - 1 + startConsecutiveCount;

            int triangular = numForTri * (numForTri + 1) / 2;

            int maxConsecutiveScore = triangular * config.ConsecutiveMatchBonus;

            return(maxConsecutiveScore);
        }
Example #2
0
 public static int CalculateMaxScore(int count, ScoreConfig config)
 {
     return(FuzzySearch.CalculateMaxScore(count, 0, config));
 }
Example #3
0
 public static int CalculateMatchScore(Match m, ScoreConfig config)
 {
     return(0);
 }