Description
There is no on-chain record of which quests a player has participated in or completed.
Expected Behavior
Each player's quest history should be queryable directly from the contract.
Proposed Changes
mapping(address => uint[]) public playerQuestHistory;
Update completeQuest() to push the quest ID into the player's history.
Acceptance Criteria
Description
There is no on-chain record of which quests a player has participated in or completed.
Expected Behavior
Each player's quest history should be queryable directly from the contract.
Proposed Changes
Update
completeQuest()to push the quest ID into the player's history.Acceptance Criteria