Skip to content

Puzzle Solution Submission and Verification API #141

@Mkalbani

Description

@Mkalbani

Location: Backend API
Labels: backend, game-logic, good first issue
Estimated Time: 7 hours
Difficulty: Medium

Description

Build a robust puzzle solution submission system with server-side verification, anti-cheat measures, and reward triggering.

Tasks

  • Create puzzle submission endpoint
  • Implement solution hashing and verification
  • Add anti-replay attack prevention
  • Create time-based validation (puzzle started timestamp)
  • Implement reward calculation logic
  • Add database transaction for atomic updates
  • Create submission history tracking
  • Write verification tests with edge cases
  • Add submission rate limiting per user
  • Implement fraud detection (too fast completions)

Acceptance Criteria

  • Solutions verified server-side
  • Rewards calculated and saved
  • Anti-cheat measures prevent exploits
  • Submission history tracked
  • Rate limiting works
  • Tests cover edge cases

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions