diff --git a/packages/web/src/Board.svelte b/packages/web/src/Board.svelte
index 05dd4b3..ce8c1f4 100644
--- a/packages/web/src/Board.svelte
+++ b/packages/web/src/Board.svelte
@@ -408,10 +408,10 @@
{@const frac = Math.min(1, dmg / 20)}
{#if kind === "V"}
+ class="crack" style:opacity={0.35 + frac * 0.65}>
battle-scarred — {dmg} damage taken
{:else}
+ class="crack" style:opacity={0.35 + frac * 0.65}>battle-scarred — {dmg} damage taken
{/if}
{/each}
@@ -421,9 +421,9 @@
{@const ix = Number(key.split(":")[1]?.split(",")[0])}
{@const iy = Number(key.split(":")[1]?.split(",")[1])}
{#if kind === "V"}
-
+ an illusion — your eyes see through it
{:else}
-
+ an illusion — your eyes see through it
{/if}
{/each}
diff --git a/packages/web/src/EdgeGlyph.svelte b/packages/web/src/EdgeGlyph.svelte
index d018eba..71bd68f 100644
--- a/packages/web/src/EdgeGlyph.svelte
+++ b/packages/web/src/EdgeGlyph.svelte
@@ -11,6 +11,7 @@
const CELL = 48;
const WALL = 7;
const cls = $derived(state === "door" ? `door${lock ? ` ${lock}` : ""}` : "wall");
+ const tip = $derived(title ?? (state === "door" ? "a locked door" : "a wall"));
{#if kind === "V"}
@@ -18,13 +19,13 @@
x={(x + 1) * CELL - WALL / 2} y={y * CELL - WALL / 2}
width={WALL} height={CELL + WALL}
class={cls}
- >{#if title}{title}{/if}
+ >{tip}
{:else}
{#if title}{title}{/if}
+ >{tip}
{/if}