private void WriteTotalLine(
     GameStats totals)
 {
     Console.WriteLine(
         $"          {totals.RushingTds}-{totals.ReceivingTds}-{totals.PassingTds}");
 }
 private void WriteKickerTotalLine(
     GameStats totals)
 {
     Console.WriteLine(
         $"          {totals.FieldGoalsMade}-{totals.ExtraPointsMade}");
 }
        public void SendToConsole(
            PlayerReportModel playerModel1,
            PlayerReportModel playerModel2,
            int[] weeksOfInterest = null)
        {
            if (weeksOfInterest == null)
            {
                weeksOfInterest = new int[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 }
            }
            ;
            Console.WriteLine(
                $"{playerModel1.PlayerName} vs {playerModel2.PlayerName} {playerModel1.Season}");
            Console.WriteLine();
            var totals       = new GameStats();
            var grandtotals  = new GameStats();
            var totals2      = new GameStats();
            var grandtotals2 = new GameStats();
            var isFirst      = false;

            foreach (var game in playerModel1.GameLog)
            {
                if (weeksOfInterest.Contains(
                        game.Week))
                {
                    if (isFirst &&
                        (game.Week.Equals(5) ||
                         game.Week.Equals(9) ||
                         game.Week.Equals(13)))
                    {
                        WriteTotalLine(
                            totals,
                            totals2);
                        totals  = new GameStats();
                        totals2 = new GameStats();
                        Console.WriteLine();
                    }
                    var player2game = playerModel2.GameLog
                                      .First(g => g.Week == game.Week);
                    Console.WriteLine($"  {game} {player2game}");
                    totals.PassingTds      += game.PassingTds;
                    totals.RushingTds      += game.RushingTds;
                    totals.ReceivingTds    += game.ReceivingTds;
                    grandtotals.PassingTds += game.PassingTds;
                    grandtotals.RushingTds += game.RushingTds;

                    grandtotals2.ReceivingTds += player2game.ReceivingTds;
                    totals2.PassingTds        += player2game.PassingTds;
                    totals2.RushingTds        += player2game.RushingTds;
                    totals2.ReceivingTds      += player2game.ReceivingTds;
                    grandtotals2.PassingTds   += player2game.PassingTds;
                    grandtotals2.RushingTds   += player2game.RushingTds;
                    grandtotals2.ReceivingTds += player2game.ReceivingTds;
                    isFirst = true;
                }
            }
            WriteTotalLine(
                totals,
                totals2);
            Console.WriteLine();
            WriteTotalLine(
                grandtotals,
                grandtotals2);
            Console.WriteLine();
        }