Skip to content

Conversation

@drvinceknight
Copy link
Member

For #884


self.responses_test([D], [C, D] * 2, [D, C] * 2)
self.responses_test([C], [C, D] * 2, [C, D] * 2)
opponent = axelrod.MockPlayer([C])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cooperator?

self.responses_test([D] * 20, [C, D], [C, C])
self.responses_test([D] * 20, [C, D], [D, C])
self.responses_test([D] * 20, [C, D], [D, D])
opponent = axelrod.MockPlayer([C, D])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alternator?

actions = [(C, D), (D, C)] + [(D, D), (D, C)] * 10
self.versus_test(opponent, expected_actions=actions)

opponent = axelrod.MockPlayer([D])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

defector?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call. No idea why I did this that way.

@drvinceknight
Copy link
Member Author

Fixed.

@meatballs meatballs merged commit e71b88f into master Apr 22, 2017
@meatballs meatballs deleted the 884-handshake branch April 22, 2017 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants