I'm making a digital card game, but I'm having trouble with one big thing. How do I store the data of the cards? In another project I stored the attacks in a json file, but that was a significantly less complicated combat system, and the effects of the attacks were limited in scope.
I thought maybe I could try looking at code for similar projects, but I can't figure out how other online card games like online versions of Magic the gathering or Pokemon work
The only thing I can think of is to use a typescript file, but I want to see if you all knew how to do this