Imagine if you have a class, Card. This class has the following attributes:
class Card
{
int hitPoints;
string name;
string[] attacks;
....functions and other shit goes here...
} Now with the example above, you can read from a XML file, example:
<card>
<name>Blue Eyes White Dragon</name>
<hitpoints>1202020</hitpoints>
<attacks>
<name>Fire Spin</name>
<name>Tail Whip</name>
</attacks>
</card> I do know a bit of Python but not enough to read from a XML and parse it to extract all of that information. I'm sure someone here could help with that. But if you see my two examples above, that could get your design started.