Skip to content

Conversation

meatballs
Copy link
Member

Adds player_count function to derive number of players from interactions dictionary

@meatballs meatballs added the ready label Nov 2, 2015
@meatballs
Copy link
Member Author

Don't merge this. I've changed my mind about the scores_matrix function. It means the payoff gets calculated twice and I don't like that! I'm going to get rid of it.

Copy link
Member

Choose a reason for hiding this comment

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

Worth including some edge cases? A single player etc...?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, probably! I'll think of something to add

@meatballs
Copy link
Member Author

done!

@drvinceknight
Copy link
Member

I'm happy with this. 👍

@meatballs
Copy link
Member Author

No excuses left now. I'm going to have tackle the ripping apart of Round Robin etc. to get the interactions out!

@drvinceknight
Copy link
Member

😨 💪

@marcharper
Copy link
Member

looks good to me, @meatballs just checking that the don't merge comment above no longer applies?

@meatballs
Copy link
Member Author

@marcharper correct. I removed my own code that was causing me offence!

marcharper added a commit that referenced this pull request Nov 3, 2015
More refactoring of payoff.py and cooperation.py
@marcharper marcharper merged commit 3ed59c2 into master Nov 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants