From 05dfbb4252951f070c91f867a6accf15f00c6a30 Mon Sep 17 00:00:00 2001 From: Vince Knight Date: Tue, 6 Jun 2017 07:28:14 +0100 Subject: [PATCH] Add ALLC and ALLD, Defector sources. --- axelrod/strategies/cooperator.py | 1 + axelrod/strategies/defector.py | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/axelrod/strategies/cooperator.py b/axelrod/strategies/cooperator.py index 672139d25..30002daad 100644 --- a/axelrod/strategies/cooperator.py +++ b/axelrod/strategies/cooperator.py @@ -10,6 +10,7 @@ class Cooperator(Player): Names: - Cooperator: [Axelrod1984]_ + - ALLC: [Press2012]_ """ name = 'Cooperator' diff --git a/axelrod/strategies/defector.py b/axelrod/strategies/defector.py index ff6a4a5fd..abf64f2c3 100644 --- a/axelrod/strategies/defector.py +++ b/axelrod/strategies/defector.py @@ -5,7 +5,13 @@ class Defector(Player): - """A player who only ever defects.""" + """A player who only ever defects. + + Names: + + - Defector: [Axelrod1984]_ + - ALLD: [Press2012]_ + """ name = 'Defector' classifier = {