How to store an ability mechanic?
12. Květen 2024 v 09:48
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?