I started developing tcg for android, using ADT bundle.
What is the right approach/way for making/storing cards/game info, local sqlite, some kind of data file? some service? or something else?
closed as not a real question by msell, Josh Petrie♦, John McDonald, Anko, Maik Semder May 23 '13 at 20:18
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
You could probably benefit of a data driven approach. I'm assuming the premisse that every card might have one or more associated effects, or it can just have some stats and no special effect, something like M:tG.
You can create the effects each on it own class and probably use a factory to generate them as the cards are instantiated. The more generic the effect, the easier to reuse.
Then you create the cards as data, if they are saved on xml, sqlite, or whatever is up to you. With this approach you only need to change the code if implementing new effects, any new card using existing effects will just be added to the data files.
Of course those are only illustrative, you need to design the TGC first and only then you can design a good data model.