I’m building an app where I’m trying to store the user’s progress on a game.
I want to be able to store the score of a player on a daily basis, and then retrieve the day’s score when I look for the date.
I wanted to store a dictionary in the database, with keys being the dates when the user played and the values being the score, but I can’t store a dictionary with GAE.
How can I do?
I’m using google appengine with python
Thanks
I think an easy way would be to create a db.Model to represent an entry in the dictionary you were originally thinking about. Just to sketch it out, what I mean is something similar to this:
Then, you could store a list of those for each of your users.