def calculate_scores(p1, p2, game):
    s1, s2 = 0, 0
    for pair in zip(p1.history, p2.history):
        score = game.score(pair)
        s1 += score[0]
        s2 += score[1]
    return s1, s2
Calculates the score for two players based their history
dataset/ETHPy150Open Axelrod-Python/Axelrod/axelrod/_strategy_utils.py/calculate_scores