-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
featureNew feature or requestNew feature or request
Description
Summary
Develop the backend logic for Duels including matchmaking, scoring, and database updates. Provide REST endpoints for creating, accepting, and resolving duels.
Tasks
- Implement
/duelsroutes for challenge, accept, and resolve. - Add database schema for users, duel states, and scores.
- Handle matchmaking logic between users.
- Integrate real-time updates or polling for duel status.
- Test all endpoints with mock data.
Acceptance Criteria
- Backend supports full duel lifecycle (challenge → accept → resolve).
- Score updates persist correctly in DB.
- Endpoints respond with proper status codes and error handling.
- Verified working with frontend mock requests.
Notes
- Reference existing user and leaderboard tables.
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request