nalnir/crypties

Special power logic

Opened this issue · 1 comments

nalnir commented

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 commented

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.