Skip to content

Commit

Permalink
Label k90r, from Axelrod's second, as TitFor2Tats
Browse files Browse the repository at this point in the history
  • Loading branch information
gaffney2010 committed Oct 9, 2019
1 parent 11fb8dc commit c89ff24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions axelrod/strategies/titfortat.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ class TitFor2Tats(Player):
"""A player starts by cooperating and then defects only after two defects by
opponent.
Submitted to Axelrod's second tournament by John Maynard Smith; it came in
24th in that tournament.
Names:
- Tit for two Tats: [Axelrod1984]_
- Slow tit for two tats: Original name by Ranjini Das
- JMaynardSmith: [Axelrod1980b]_
"""

name = "Tit For 2 Tats"
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/overview_of_strategies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ repository.
"K87R_", "E E H Schurmann", "Not Implemented"
"K88R_", "Scott Appold", "Not Implemented"
"K89R_", "Gene Snodgrass", "Not Implemented"
"K90R_", "John Maynard Smith", "Not Implemented"
"K90R_", "John Maynard Smith", ":class:`Appold <axelrod.strategies.titfortat.TitFor2Tats>`"
"K91R_", "Jonathan Pinkley", "Not Implemented"
"K92R_", "Anatol Rapoport", ":class:`TitForTat <axelrod.strategies.titfortat.TitForTat>`"
"K93R_", "Unknown", "Not Implemented"
Expand Down

0 comments on commit c89ff24

Please sign in to comment.