Description
Players have no way to provide feedback on quests, making it hard to surface quality content.
Expected Behavior
After completing a quest, players should be able to submit a rating (1–5). The contract should expose an average rating per quest.
Proposed Changes
mapping(uint => uint[]) private questRatings;
function rateQuest(uint questId, uint rating) external;
function getAverageRating(uint questId) external view returns (uint);
Acceptance Criteria
Description
Players have no way to provide feedback on quests, making it hard to surface quality content.
Expected Behavior
After completing a quest, players should be able to submit a rating (1–5). The contract should expose an average rating per quest.
Proposed Changes
Acceptance Criteria