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='🎁'))


---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-416694d03adb> in <module>()
----> 1 import axelrod as axl
      2 alex, camille = axl.Alternator(), axl.TitForTat()
      3 match = axl.Match([alex, camille], 10)
      4 _ = match.play()
      5 print(match.sparklines(c_symbol='πŸ˜€', d_symbol='🎁'))

ImportError: No module named axelrod

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