Dimensional warps get the edge-warp treatment

Placing the two tokens worked, but using them asked too much: the
only affordance was a "Step through the warp" button in the actions
row, easy to miss and far from the board. Now standing on a warp
token pulses its twin with the same green dashed ring the lettered
edge openings use, and clicking the twin steps you through — one
gesture, learned once, working for both kinds of warp. The button
stays for those who found it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-08-16 10:21:27 -04:00
co-authored by Claude Fable 5
parent 57bd036417
commit f9eff3341b
+13
View File
@@ -313,6 +313,19 @@
clearSelection();
return;
}
const meNow = view.players.find((p) => p.id === view.you);
if (!selectedCard && meNow) {
const pos = meNow.position;
const pair = view.dimWarps.find((w) =>
(w.a.x === pos.x && w.a.y === pos.y) || (w.b.x === pos.x && w.b.y === pos.y));
if (pair) {
const dest = pair.a.x === pos.x && pair.a.y === pos.y ? pair.b : pair.a;
if (dest.x === cell.x && dest.y === cell.y) {
dispatch({ type: "warpStep" });
return;
}
}
}
if (selectedCreature) {
const creature = view.creatures.find((c) => c.id === selectedCreature);
if (creature) {