Hello, I am trying to develop a game here, and I have a question about the way to initialize the card of a complex deck.
What I mean by complex is each card is different and have data associated with it that cannot be initialized like the tutorial of heart (which is 2 for loop).
What is the best way to enter the data for each card (name, value, color, etc.)? I thought about creating every cards in the sql file and getting all the cards in the php with a sql request to form the deck, but I am not sure if this is the best solution.
What is you thought about this?
What I mean by complex is each card is different and have data associated with it that cannot be initialized like the tutorial of heart (which is 2 for loop).
What is the best way to enter the data for each card (name, value, color, etc.)? I thought about creating every cards in the sql file and getting all the cards in the php with a sql request to form the deck, but I am not sure if this is the best solution.
What is you thought about this?