I’m in the middle of programming a tile based puzzle game, then i realized i don’t have any good ways to save data. For the moment i’m using these long combined strings for sharedpreferences and i’m very sure SharedPreferences isn’t designed to keep all my per level scores.
I’ve got 63 levels, spread into 7 difficulties, and all scores(stars granted) is saved like this:
This means i am saving 63 of those strings as for only the stars granted for the levels. I also want to save “best amount of moves”, “time used”, and possibly more.
The game is not going to have a leaderboard, or communicate with others devices (although it may allow posting scores to FaceBook, twitter etc.)
Another thing that might be useful to mention is that the file should not be accessible(or atleast not readable enough for people to cheat)
What would you suggest as the best way of saving stats like this from android applications?