FreshRSS

Zobrazení pro čtení

Jsou dostupné nové články, klikněte pro obnovení stránky.

How to store an ability mechanic?

I'm working on a project which is a collectable card game, where cards gonna have very different abilities, for example as in Hearthstone - one card kills another card, another gives mana, another deals damage, another gives additonal damage, another doubles it's damage, so those are completely different abilites. But I don't know where and how to store these abilites. How is it made? I think it's not possible to store this information in the DB. Or is it?

❌