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

Special power logic #48

Open
nalnir opened this issue Sep 6, 2023 · 1 comment
Open

Special power logic #48

nalnir opened this issue Sep 6, 2023 · 1 comment
Assignees

Comments

@nalnir
Copy link
Owner

nalnir commented Sep 6, 2023

Design special power logic:
-It should take: playerTurn, cards on the table, hero health.

-Maybe it should take also: Player and opponent decks, playable cards.

  • Executes the function and returns the state.

  • Think also about the way the animations will work. Should we have animation execution after it returns the changed state? Should we have a separate animation repo?

@nalnir nalnir self-assigned this Sep 6, 2023
@nalnir
Copy link
Owner Author

nalnir commented Nov 6, 2023

This is partly done. For now player and opponent deck are not passed it as they should really be manipulated. It should only be card that are on board, discarded ones and player heroes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: On hold
Development

No branches or pull requests

1 participant