-
Notifications
You must be signed in to change notification settings - Fork 282
Unique strategy id and index #694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
81f652d
[#688] Add methods and tests for player unique_id
meatballs e725340
[#688] Add comments to test
meatballs 3ee5430
[#688] Fix PEP8 errors
meatballs 4485c88
[#688] Fix PEP8 errors
meatballs f4763e1
[#688] Fix PEP8 errors
meatballs c6959f8
[#688] Fix PEP8 errors
meatballs 1c8760d
[#688] Fix PEP8 errors
meatballs 43fa94b
[#688] Add test for id in player init
meatballs f309b1d
[#688] Add comments to player methods
meatballs b0bd0d2
[#688] Remove player methods and create id and index in strategies.__…
meatballs 2db0298
[#688] Add encoding instruction to test_player.py
meatballs 95a2ce6
[#688] Add test to ensure all strategies have an id
meatballs 82e2bb6
[#688] Add id tests for single and multi word strategy names
meatballs 89cefe1
[#688] Add tests for strategy_index
meatballs 7d18f2c
[#688] Fix PEP8 errors
meatballs b87b2ec
[#688] Add test to ensure length of strategy_index matches that of al…
meatballs a2eb433
[#688] Fix names for Cycler strategies
meatballs 9a63d6b
[#688] Fix names for Retaliate strategies
meatballs 38be270
[#688] Fix names for GoBtMajority strategies
meatballs 3c93bf8
[#688] Fix instance name for Cycler classes
meatballs 5de01b9
[#688] Use format() instead of % to keep quantified code happy
meatballs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
indexthe right word? Makes me think of a number... Not terribly offended by index though.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It makes me think of an index at the back of a book, or a database index - something where you look things up!!
Not too bothered myself, if there's a better suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I think now that you've said that I'm cool with index. Ignore me :)