예제 #1
0
        /// <summary>
        /// Method that calculates the score for the round based on the frequency of numbers in the array.
        /// </summary>
        /// <returns>Score for the current round.</returns>
        public int CalculateRoundScore()
        {
            int frequency  = _numberList.CalculateFrequency();
            int roundScore = frequency * 10;

            return(roundScore);
        }