Make the broken mirror easier: wider margins, extra moves from balanced companions, hover outline on hard
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bbfb08676f
commit
734a3b6a8b
13 changed files with 82 additions and 52 deletions
|
|
@ -232,7 +232,7 @@ export function MirrorPanel({ catalog, runMutation, busy, content, teamContent }
|
|||
}
|
||||
}
|
||||
|
||||
// Coup de main : l'Orientation attend d'abord le morceau visé ; l'Équilibré montre le modèle quelques secondes.
|
||||
// Coup de main : l'Orientation attend d'abord le morceau visé.
|
||||
async function help(cardId, helpId, cell = null) {
|
||||
// Orientation : sur le morceau déjà choisi, sinon le prochain clic sur le plateau le désigne ; un second clic l'annule sans la dépenser.
|
||||
if (helpId === "orientation" && cell === null) {
|
||||
|
|
@ -242,12 +242,7 @@ export function MirrorPanel({ catalog, runMutation, busy, content, teamContent }
|
|||
setAiming(null);
|
||||
// La sélection reste pour le Mouvement libre (il suffit de cliquer la case voulue), pas pour les autres coups de main.
|
||||
if (helpId !== "bravoure") setSelected(null);
|
||||
const next = await act(() => applyMirrorHelp(mirror.day, activeMode, cardId, helpId, game.moves, cell));
|
||||
const after = next?.games[activeMode];
|
||||
if (helpId === "balanced" && after?.peekUntil) {
|
||||
await peek(true);
|
||||
window.setTimeout(() => setPeeking(false), Math.max(0, after.peekUntil - Date.now()));
|
||||
}
|
||||
await act(() => applyMirrorHelp(mirror.day, activeMode, cardId, helpId, game.moves, cell));
|
||||
}
|
||||
|
||||
// Ouvre un miroir : sa partie si elle existe, sinon elle commence.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue