nalnir / crypties

Open-source PvP cardgame.
https://crypties-neon.vercel.app
MIT License
1 stars 0 forks source link

Special power logic #48

Open nalnir opened 1 year ago

nalnir commented 1 year ago

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.

nalnir commented 1 year ago

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.