Priority: P0
Labels: backend, security, gameplay, priority: p0
Problem
A player could potentially submit the same answer multiple times because of:
- double clicking
- network retries
- browser refresh
- malicious requests
- frontend bugs
This becomes especially dangerous when XP or rewards are involved.
Requirements
Implement idempotency for challenge submissions.
Example:
or:
The backend must ensure the same submission cannot:
award XP twice
advance the session twice
create duplicate rewards
Acceptance Criteria
Priority: P0
Labels: backend, security, gameplay, priority: p0
Problem
A player could potentially submit the same answer multiple times because of:
This becomes especially dangerous when XP or rewards are involved.
Requirements
Implement idempotency for challenge submissions.
Example:
or:
The backend must ensure the same submission cannot:
Acceptance Criteria