-
Notifications
You must be signed in to change notification settings - Fork 282
Refactored games to generalise & add asymmetric games #1413
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
8de2ba7
Added asymmetric games and made regular games a subclass
alexhroom 60482f9
Merge branch 'Axelrod-Python:dev' into dev
alexhroom f1207b0
small improvements to code style
alexhroom 09fb251
fixing docs mock...
alexhroom ea4c660
Revert "fixing docs mock..."
alexhroom c593dd4
used IntEnum to simplify
alexhroom 22e6197
small improvements & a fix
alexhroom 95b9517
added asymmetric games to docs
alexhroom 3a8cde2
added werror if invalid payoff matrices are given
alexhroom c8439bc
removed .item()
alexhroom bb6171c
changed dbs.action_to_int to use IntEnum behaviour
alexhroom 9cb0f8c
Revert "changed dbs.action_to_int to use IntEnum behaviour"
alexhroom d88c4d3
made library code more robust wrt integer actions
alexhroom eaa1603
all strategies now work with integer actions
alexhroom 8f19561
added tests and fixed __eq__
alexhroom 524b278
improved coverage
alexhroom 29506f3
changed Action back to Enum and added casting to score
alexhroom 43bb3a5
added casting test
alexhroom add9a26
Merge branch 'Axelrod-Python:dev' into dev
alexhroom a333d62
removed numpy mocking
alexhroom 7495e3b
changed doc due to doctests being picky
alexhroom b9e78ea
re-fixed doctest examples
alexhroom 90b0a44
review changes
alexhroom 0afa186
Added tutorial for implementing new games
alexhroom 0489728
fixed formatting
alexhroom c79d4c5
made doctests work
alexhroom f2452ee
Merge branch 'dev' of https://github.com/alexhroom/axelrod into dev
alexhroom 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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.