flowchart TD
Start[G2: Regla contraproductiva] --> Init[P1: 10 pavos
P2: 10 elotes]
Init --> A2[P2: Checkbox 'Forzar oferta'
🔲 Activo por defecto]
A2 -->|forcedByP2 = true| F2[P1 DEBE ofrecer
Botón 'No ofrecer' deshabilitado]
A2 -->|forcedByP2 = false| B2{P1: Ofrecer tokens?}
F2 --> C2[P1 especifica oferta obligatoria:
- Ofrecer: X pavos, Y elotes
- Pedir: A pavos, B elotes]
B2 -->|No ofrecer| O1[Sin cambios
→ Siguiente ronda]
B2 -->|Proponer oferta| C2
C2 --> D2[UI: Ocultar OfferControls
Mostrar detalles oferta]
D2 --> E2{P2: Una sola decisión}
E2 -->|Aceptar| O2[Intercambiar tokens
→ Auto-avance]
E2 -->|Rechazar| O3[Sin cambios
→ Auto-avance]
E2 -->|Robar| O4[P2 recibe oferta sin pagar
→ Auto-avance]
%%{init: {'theme':'dark'}}%%
style Start fill:#6a1b9a,stroke:#fff,color:#fff
style Init fill:#7b1fa2,stroke:#fff,color:#fff
style A2 fill:#8e24aa,stroke:#fff,color:#fff
style F2 fill:#ab47bc,stroke:#fff,color:#fff
style B2 fill:#4527a0,stroke:#fff,color:#fff
style C2 fill:#512da8,stroke:#fff,color:#fff
style D2 fill:#37474f,stroke:#fff,color:#fff
style E2 fill:#455a64,stroke:#fff,color:#fff
style O1 fill:#424242,stroke:#fff,color:#fff
style O2 fill:#2e7d32,stroke:#fff,color:#fff
style O3 fill:#757575,stroke:#fff,color:#fff
style O4 fill:#d32f2f,stroke:#fff,color:#fff