- Add variable offer system where P1 can offer any amount of tokens - Players start with 10 tokens each (P1: pavos, P2: elotes) - Implement offer/request mechanism with token validation - Auto-advance rounds after P2 actions or P1 no-offer - G2: Force offer by default, disable no-offer button when forced - G3: Wait for shame decision after snatch before advancing - G4: Implement inverse sanction (P1 gets requested without giving offered) - Reset rounds to 1 when changing game variants - Fix OfferControls responsiveness issues - Hide offer controls after active offer - Update all G1-G5 components with proper offer flow
10 lines
403 B
Plaintext
10 lines
403 B
Plaintext
flowchart TD
|
|
A4[P1: Proponer oferta?] -->|No ofrecer| O1[Sin cambios]
|
|
A4 -->|Ofrecer| B4[P2: Aceptar / Rechazar / Robar]
|
|
B4 -->|Aceptar| O2[Intercambiar según oferta/pedido]
|
|
B4 -->|Rechazar| O3[Sin cambios]
|
|
B4 -->|Robar| C4[P1: ¿Denunciar?]
|
|
C4 -->|No| O4[Transferir solo lo ofrecido a P2]
|
|
C4 -->|Sí| J4[AutoJudge revierte robo (confisca oferta a P2)]
|
|
J4 --> O5[Restituir oferta a P1]
|