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); }
public static int CalculateMaxScore(int count, ScoreConfig config) { return(FuzzySearch.CalculateMaxScore(count, 0, config)); }
public static int CalculateMatchScore(Match m, ScoreConfig config) { return(0); }