-
Notifications
You must be signed in to change notification settings - Fork 264
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
Game classification #1414
Comments
This is all awesome @alexhroom, I think #1413 really unblocks a bunch of stuff going forwards towards
So this would imply moving a lot of the "current" functionality of the library to
Not sure if we need something like this (for example the
👍
I suggest not worrying about this until it becomes a problem (but I like the suggestion of namespace packages as a solution). |
if we're thinking towards 5.0.0 (i.e. being willing to make breaking changes) then yeah |
Yeah I feel like we're certainly going towards 5.0.0 here with breaking changes. |
@gaffney2010 worked on this for the ultimatum game, see this branch for some ideas and implementation details. |
Following up from #1413, to ensure strategies and algorithms are being used with compatible games there should be a method of classifying and organising games.
Some ideas:
axelrod.games.rockpaperscissors
would contain aGame
,Action
s andStrategy
objects for rock-paper-scissors.axelrod.games
directory could contain a function where a user enters a game name and it returns a dict with the various components of the game, e.g.:The text was updated successfully, but these errors were encountered: