feat: implement variable token offers and auto-round advancement
- 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
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
flowchart TD
|
||||
A2[P2: Forzar?] -->|Sí| F2[P1: Oferta forzada]
|
||||
A2 -->|No| B2[P1: Ofrecer 5?]
|
||||
A2[P2: Forzar?] -->|Sí| F2[P1: Debe proponer oferta]
|
||||
A2 -->|No| B2[P1: Proponer oferta?]
|
||||
F2 --> C2[P2: Acción final]
|
||||
B2 -->|No ofrecer| O1[10,10]
|
||||
B2 -->|No ofrecer| O1[Sin cambios]
|
||||
B2 -->|Ofrecer| C2[P2: Aceptar / Rechazar / Robar]
|
||||
C2 -->|Aceptar| O2[15,15]
|
||||
C2 -->|Rechazar| O3[10,10]
|
||||
C2 -->|Robar| O4[5,20]
|
||||
C2 -->|Aceptar| O2[Intercambiar según oferta/pedido]
|
||||
C2 -->|Rechazar| O3[Sin cambios]
|
||||
C2 -->|Robar| O4[Transferir solo lo ofrecido a P2]
|
||||
|
||||
Reference in New Issue
Block a user