-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Doubles support #49
Comments
Hi @szymonWojdat! Thanks for opening this issue. Either way, I think that we should discuss this extensively before jumping into implementation. Let's switch to Discord to arrange a call and next steps. We'll update this issue before opening a PR/ PRs related to the subject to keep progress public. |
We talked with @szymonWojdat and a couple of other developers regarding the next steps on this project. We concluded that the first thing to do was to separate After that, we'll do something similar with The first corresponding PR is #51 |
@szymonWojdat's branch is ready for review, up to some missing tests. We are also working with @dmizr to incorporate some of his work. Our goal is to publish version |
PR #64 includes @szymonWojdat work into the main repo. Once merged, we'll proceed with additional tests before merging it into master. |
Done with #86. |
I started messing around with doubles and managed to successfully play a couple of turns but before I proceed with this, I think it's important to decide in which direction do we want to go with this design-wise as there's a couple options:
DoubleBattle
class that extendsBattle
, same withDoublesPlayers
that extendsPlayer
Player
andBattle
classes so that they support both singles at doubles at the same time. This seems like a more elegant way but will involve more work and testing (which I'm fine with). Eg.Battle.active_pokemon
will need to return an iterable ofPokemon
instances rather than one instance and so on.Please let me know what do you think @hsahovic
The text was updated successfully, but these errors were encountered: