InΒ [1]:
import axelrod as axl
alex, camille = axl.Alternator(), axl.TitForTat()
match = axl.Match([alex, camille], 10)
_ = match.play()
print(match.sparklines(c_symbol='π', d_symbol='π'))
InΒ [Β ]:
family = [axl.Cooperator(),
... axl.Defector(),
... axl.Alternator(),
... axl.TitForTat(),
... axl.TwoTitsForTat(),
... axl.Grudger()]
christmas = axl.Tournament(family, turns=50, repetitions=1)
results = christmas.play()
results.scores