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} +
+
+ +