diff --git a/src/lib/PromotionDialog.svelte b/src/lib/PromotionDialog.svelte new file mode 100644 index 0000000..d039db1 --- /dev/null +++ b/src/lib/PromotionDialog.svelte @@ -0,0 +1,44 @@ + + +{#if pending} +
gameStore.cancelPromotion()} + role="presentation"> +
e.stopPropagation()} role="presentation"> +

Promote pawn ({pending.from}→{pending.to})

+
+ {#each PIECES as p} + + {/each} +
+
+
+{/if} + +