Exemple #1
0
        public int TakeTurn()
        {
            Console.WriteLine($"{name} rolled ");
            scores = dice.Roll();

            score = 0;

            for (int i = 0; i < scores.Length; i++)
            {
                score += scores[i];
            }

            Console.WriteLine($"Scoring a total of {score}");

            return(score);
        }