Hello.
I am currently developing a game in the studio and have a question.
How do you store players resources in the database?
Should I extend players table and add columns to store quantity of eg. "food" and "gold" tokens and in JS make just a visual representation based on these values or store every resource token in db as a independent record and then just assign playerId to them when player should receive one?
I am currently developing a game in the studio and have a question.
How do you store players resources in the database?
Should I extend players table and add columns to store quantity of eg. "food" and "gold" tokens and in JS make just a visual representation based on these values or store every resource token in db as a independent record and then just assign playerId to them when player should receive one?