diff --git a/client/src/components/GameBoard.tsx b/client/src/components/GameBoard.tsx index fd48870..a73cd35 100644 --- a/client/src/components/GameBoard.tsx +++ b/client/src/components/GameBoard.tsx @@ -15,6 +15,10 @@ export default function GameBoard({ gameState, currentPlayerId, actions }: GameB // Hooks para FASE REVEAL ROLE const [revealCard, setRevealCard] = useState(false); + // Orden aleatorio de cartas de misión (se genera una vez) + const [cardOrder] = useState(() => Math.random() > 0.5); + + // Timer para avanzar automáticamente en REVEAL_ROLE useEffect(() => { if (gameState.phase === 'reveal_role' as any) { @@ -463,109 +467,104 @@ export default function GameBoard({ gameState, currentPlayerId, actions }: GameB ) : (
+ Elige el resultado de tu participación +
- return ( -- Elige el resultado de tu participación -
+ {/* DEBUG INFO - TEMPORAL */} +