add turns and update token logic.

This commit is contained in:
2025-02-17 15:21:03 -08:00
parent f413b74a1f
commit c08a15f01f
34 changed files with 698 additions and 151 deletions

View File

@ -0,0 +1,32 @@
<script>
import { getMeContext } from "$lib/meContext";
const { players } = $props();
const me = getMeContext();
</script>
<div class="list">
<ol>
{#each players as player}
{#if me !== null && player.id === me.id}
<li class="you">you</li>
{:else}
<li>{player.username}</li>
{/if}
{/each}
</ol>
</div>
<style>
.you {
font-weight: bold;
}
.list {
border: 1pt gray solid;
background: white;
height: 100%;
width: 100%;
}
</style>