Skip to content

Commit

Permalink
Add ALLC and ALLD, Defector sources.
Browse files Browse the repository at this point in the history
  • Loading branch information
drvinceknight committed Jun 6, 2017
1 parent 421152a commit 05dfbb4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions axelrod/strategies/cooperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class Cooperator(Player):
Names:
- Cooperator: [Axelrod1984]_
- ALLC: [Press2012]_
"""

name = 'Cooperator'
Expand Down
8 changes: 7 additions & 1 deletion axelrod/strategies/defector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 05dfbb4

Please sign in to comment.