Skip to content

Commit 05dfbb4

Browse files
committed
Add ALLC and ALLD, Defector sources.
1 parent 421152a commit 05dfbb4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

axelrod/strategies/cooperator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class Cooperator(Player):
1010
Names:
1111
1212
- Cooperator: [Axelrod1984]_
13+
- ALLC: [Press2012]_
1314
"""
1415

1516
name = 'Cooperator'

axelrod/strategies/defector.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55

66

77
class Defector(Player):
8-
"""A player who only ever defects."""
8+
"""A player who only ever defects.
9+
10+
Names:
11+
12+
- Defector: [Axelrod1984]_
13+
- ALLD: [Press2012]_
14+
"""
915

1016
name = 'Defector'
1117
classifier = {

0 commit comments

Comments
 (0)