workspace/projects/gamilit/docs/03-fase-extensiones/EXT-009-peer-challenges/historias-usuario/US-PEER-002-challenge-execution.md
rckrdmrd ea1879f4ad feat: Initial workspace structure with multi-level Git configuration
- Configure workspace Git repository with comprehensive .gitignore
- Add Odoo as submodule for ERP reference code
- Include documentation: SETUP.md, GIT-STRUCTURE.md
- Add gitignore templates for projects (backend, frontend, database)
- Structure supports independent repos per project/subproject level

Workspace includes:
- core/ - Reusable patterns, modules, orchestration system
- projects/ - Active projects (erp-suite, gamilit, trading-platform, etc.)
- knowledge-base/ - Reference code and patterns (includes Odoo submodule)
- devtools/ - Development tools and templates
- customers/ - Client implementations template

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-08 10:44:23 -06:00

958 B

US-PEER-002: 1v1 Challenge Execution

Épica: EXT-009: Peer Challenges Prioridad: P1 Story Points: 8 Esfuerzo: 8 horas Sprint: 12


📋 User Story

Como estudiante que aceptó un challenge,
Quiero completar el ejercicio y ver cómo me va vs mi oponente en tiempo real
Para sentir la emoción de la competencia

Criterios de Aceptación

Backend (4h)

  • Endpoint GET /api/v1/challenges/:id/start (iniciar challenge)
  • WebSocket events:
    • challenge:opponent_started
    • challenge:opponent_completed
    • challenge:progress_update (cada 25% del ejercicio)
  • Tracking de attempts por challenge_id

Frontend (4h)

  • Versus screen:
    • Avatares de challenger vs opponent
    • Progress bars de ambos
    • Timer (opcional)
    • Real-time updates vía WebSocket
  • Exercise player integrado en challenge mode
  • Loading state "Esperando a [opponent]..."

Creado: 2025-11-07