From 816f89be36e0bf169948619cd6a1fbcf1d3de147 Mon Sep 17 00:00:00 2001 From: "claude (blind_chess)" Date: Mon, 18 May 2026 20:41:43 -0400 Subject: [PATCH] feat(client): phantom-piece palette component Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/client/src/lib/PhantomPalette.svelte | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 packages/client/src/lib/PhantomPalette.svelte diff --git a/packages/client/src/lib/PhantomPalette.svelte b/packages/client/src/lib/PhantomPalette.svelte new file mode 100644 index 0000000..fb48389 --- /dev/null +++ b/packages/client/src/lib/PhantomPalette.svelte @@ -0,0 +1,50 @@ + + +
+ Drag onto your board — your guess of where the opponent is. +
+ {#each TYPES as t (t)} + + + { e.preventDefault(); phantomDrag.start({ kind: 'palette', type: t }, e); }} + >{pieceGlyph({ color: oppColor, type: t })} + {/each} +
+
+ +