diff --git a/web-svelte/src/components/Player.svelte b/web-svelte/src/components/Player.svelte new file mode 100644 index 0000000..a67624b --- /dev/null +++ b/web-svelte/src/components/Player.svelte @@ -0,0 +1,89 @@ + + +
+ + + {#if $myName == name} + +
+ Remove person from the game +
+
+ + + {:else} +
+ {/if} + + +
+ {name} + {#if $myName == name} + (You) + {/if} +
+ + + {#if canLeave()} + +
+ Remove person from the game +
+
+ {/if} +
+ + \ No newline at end of file