lijim / monks-and-mages

Monks and Mages is a TCG-game built on React and socket.io
https://www.monksandmages.com
MIT License
17 stars 0 forks source link

Feat: Add associated card tooltips #414

Closed lijim closed 1 year ago

lijim commented 1 year ago

Problem: We have cards in the game that add other cards / transform units into other units / extract cards from decks.

These cards aren't super clear right now to players. For instance, in this screenshot, it's not clear what 'Smolder' is:

Screen Shot 2023-03-07 at 8 40 49 AM

Solution: We added a transformer for getting which cards to display.

Incorporated this transformer to display "associated cards" in the tooltips in both the HandOfCards component + the deck builder.:

Screen Shot 2023-03-07 at 8 27 41 AM Screen Shot 2023-03-07 at 8 24 44 AM