public void Battle() { while (P1.Any() && P2.Any()) { RoundsPlayed++; var c1 = P1.Dequeue(); var c2 = P2.Dequeue(); if (c1 > c2) { P1.Enqueue(c1); P1.Enqueue(c2); } else { P2.Enqueue(c2); P2.Enqueue(c1); } } P1Score = CalculateScore(P1); P2Score = CalculateScore(P2); }