Skip to content

Commit d71ebd2

Browse files
gaffney2010drvinceknight
authored andcommitted
Label k90r, from Axelrod's second, as TitFor2Tats (#1266)
1 parent 66de2da commit d71ebd2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

axelrod/strategies/titfortat.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,14 @@ class TitFor2Tats(Player):
5151
"""A player starts by cooperating and then defects only after two defects by
5252
opponent.
5353
54+
Submitted to Axelrod's second tournament by John Maynard Smith; it came in
55+
24th in that tournament.
56+
5457
Names:
5558
5659
- Tit for two Tats: [Axelrod1984]_
5760
- Slow tit for two tats: Original name by Ranjini Das
61+
- JMaynardSmith: [Axelrod1980b]_
5862
"""
5963

6064
name = "Tit For 2 Tats"

docs/reference/overview_of_strategies.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ repository.
117117
"K87R_", "E E H Schurmann", "Not Implemented"
118118
"K88R_", "Scott Appold", ":class:`Appold <axelrod.strategies.axelrod_second.Appold>`"
119119
"K89R_", "Gene Snodgrass", "Not Implemented"
120-
"K90R_", "John Maynard Smith", "Not Implemented"
120+
"K90R_", "John Maynard Smith", ":class:`Appold <axelrod.strategies.titfortat.TitFor2Tats>`"
121121
"K91R_", "Jonathan Pinkley", "Not Implemented"
122122
"K92R_", "Anatol Rapoport", ":class:`TitForTat <axelrod.strategies.titfortat.TitForTat>`"
123123
"K93R_", "Unknown", "Not Implemented"

0 commit comments

Comments
 (0)