Skip to content

Implement Player Quest History Mapping #219

@Mkalbani

Description

@Mkalbani

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

  • Player history is recorded on completion
  • History is publicly queryable by address
  • Tests validate history is updated correctly

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions