File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -492,18 +492,18 @@ def strategy(opponent: Player) -> Action:
492492
493493@FinalTransformer ((D , D ), name_prefix = None )
494494class SteinAndRapoport (Player ):
495- """
496- A player who plays according to statistic methods.
497- Begins by playing C for the first four (4) rounds , then it plays
498- tit for tat and at the last 2 round it Defects. Every 15 turns it
499- run a chi-squared test to check whether the opponent behaves randomly
500- or not . In case the opponent behaves randomly then Stein_and_Rapoport
501- Defects untill the next 15 round (where we check again), otherwise he
502- still plays TitForTat.
503-
504- Names:
505- - SteinAndRapoport [Axelrod1980]_
506- """
495+ """
496+ A player who plays according to statistic methods.
497+ Begins by playing C for the first four (4) rounds , then it plays
498+ tit for tat and at the last 2 round it Defects. Every 15 turns it
499+ run a chi-squared test to check whether the opponent behaves randomly
500+ or not . In case the opponent behaves randomly then Stein_and_Rapoport
501+ Defects untill the next 15 round (where we check again), otherwise he
502+ still plays TitForTat.0
503+
504+ Names:
505+ - SteinAndRapoport [Axelrod1980]_
506+ """
507507
508508 name = 'Stein and Rapoport'
509509 classifier = {
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Strategies in the Axelrod's first tournament:
2828+--------------------------+-------------------------------------------+--------------------------+
2929| `Shubik `_ | Shubik (author's name) | :code: `Shubik ` |
3030+--------------------------+-------------------------------------------+--------------------------+
31- | `Stein and Rapoport `_ | Stein and Rapoport (authors' names) | Not Implemented |
31+ | `Stein and Rapoport `_ | Stein and Rapoport (authors' names) | :code: ` SteinAndRapoport ` |
3232+--------------------------+-------------------------------------------+--------------------------+
3333| `Grudger `_ | Grudger (by Friedman) | :code: `Grudger ` |
3434+--------------------------+-------------------------------------------+--------------------------+
You can’t perform that action at this time.
0 commit comments