Skip to content

Instantly share code, notes, and snippets.

@drvinceknight
Created April 3, 2016 20:26
Show Gist options
  • Save drvinceknight/d8f48f03ca5a353fee1099c9d3af3716 to your computer and use it in GitHub Desktop.
Save drvinceknight/d8f48f03ca5a353fee1099c9d3af3716 to your computer and use it in GitHub Desktop.
import axelrod as axl
players = [axl.Cooperator(), axl.Defector(), axl.TitForTat(),
axl.PSOGambler(), axl.BackStabber(), axl.ThueMorse()]
tournament = axl.Tournament(players, processes=2)
results = tournament.play()
print(results.ranked_names)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment