Just started and after pondering with registered users' table everything came to a halt.
So far I've got:
+----------------------+
| tblUsers |
+----------------------+
| userID(primaryKey) |
| username |
| password * |
| accountStatus ** |
+----------------------+
* hashed
** 0=not activated, 1=activated, 2=suspended
Still haven't decided on each of the field's data type. But the question is: should I have one big massive table for all the cards or split them into say tblCreatures
, tblSpells
, tblTraps
, tblQuests
tables?
Plus, for example, some of the creatures have special abilities besides the usual strength and health stats. So I assume if there was tblCreatures
, it would have cardTitle
, cardStrength
, cardHealth
, cardDescription
and then it would have cardAbility0...4
, because I doubt that a single creature card can have more than 2 abilities?
Also how would I contain each user's decks? A single user for example can have up to 10 decks created by themselves, which will be saved on the server.
Any suggestions/remarks?
The project will either be purely written in C# (both client and server) and XNA4, or maybe in the future the client will be ported to Flash+AS3 while server will be done in C#.