taspeotis/MercilessDungeon

We need classes to represent cards

Opened this issue · 0 comments

I propose three types of cards:

  • Strike (stylized as Sr!ke?) cards - these do damage and optionally have a special "s!gnature str!ke" if certain conditions are met (e.g. the card allows a certain character to do more or different damage)
  • Inventory cards - these are cards in your public inventory
  • Mutator cards - these mutate other cards (strike or inventory or other mutators) in some way

All cards have a title and description and the ability to be played (e.g. a Play method). There should be some base class that represents common properties.

Since the base class is useless by itself it should be abstract, ditto for the strike/inventory/mutator cards (e.g. new StrikeCard is useless because it's just a strike card without any damage etc...)