Hello Everyone,
So I've begun a new project, in an attempt to show off my progress with Javascript. I'm making a little text-based RPG. However, I would like for it to permanently save your character and their progress. Thus, I need a MySQL database.
I won't lie, I've only used MySQL very sparingly in the past and I am very much a beginner. Thus, I'm still struggling whats the best way to even format the database and tables.
Here's my idea, 3 tables:
**Users:**
userid
**Item Description:**
| Name | Type | Attack |
itemid
**Player Inventory:**
| itemid | itemid | itemid|
userid
-------------------------------------------------------------
Hopefully this makes sense. I don't plan on tons of inventory items. Perhaps 20 total and they don't need to be unique. Does this sound like an efficient way to do this?
Thanks in advance!