Skip to content

Commit 16056a0

Browse files
committed
Label k90r, from Axelrod's second, as TitFor2Tats
1 parent 0e7b5ca commit 16056a0

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
@@ -159,7 +159,7 @@ repository.
159159
"K87R_", "E E H Schurmann", "Not Implemented"
160160
"K88R_", "Scott Appold", "Not Implemented"
161161
"K89R_", "Gene Snodgrass", "Not Implemented"
162-
"K90R_", "John Maynard Smith", "Not Implemented"
162+
"K90R_", "John Maynard Smith", ":class:`Appold <axelrod.strategies.titfortat.TitFor2Tats>`"
163163
"K91R_", "Jonathan Pinkley", "Not Implemented"
164164
"K92R_", "Anatol Rapoport", ":class:`TitForTat <axelrod.strategies.titfortat.TitForTat>`"
165165
"K93R_", "Unknown", "Not Implemented"

0 commit comments

Comments
 (0)