Skip to content
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

Setup phase #37

Open
FredericDesgreniers opened this issue Jul 28, 2017 · 1 comment
Open

Setup phase #37

FredericDesgreniers opened this issue Jul 28, 2017 · 1 comment

Comments

@FredericDesgreniers
Copy link
Collaborator

FredericDesgreniers commented Jul 28, 2017

The way it works right now is that the turns starts immediately. Before the main board shows up, we should give the choice for the player to chose an active pokemon.

The setup phase should:
1- check for mulligans
2- If one is found, get new cards and other player (opponent) can draw a card (he has a choice if he wants to draw).
3- Ask the player to chose an active pokemon

@laihaotao
Copy link
Owner

Now the select active pokemon "some how" worked, but I still need to improve the UI stuff. For check mulligans, now the implementation is hard-code in the player's constructor, it needs to be refactored. Since when the player is running its constructor, the gameboard object is still null. If we want to give the player a choice to say we want to draw one more card we need GameBoard invoked. @FredericDesgreniers

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

No branches or pull requests

2 participants