{#if crowded} {/if}
| Turn | {#each columns as who (who)}{#if crowded && who !== duel.me}{/if}{duel.state.wizards[who].name}{#if who === duel.me} (you){/if} | {/each}||
|---|---|---|---|
| {#each columns as who (who)} | left | right | {/each}|
| {row.label}{#if row.note}{row.note}{/if} | {#each columns as who (who)} {#each ['left', 'right'] as const as hand (hand)}{#each row.cells[who] as p (p.index)} {@const notes = notesFor(who, p.index, hand)} {@const other = hand === 'left' ? p.entry.right : p.entry.left} 0} class:hidden={p.hidden} class:haste={p.entry.phase === 'haste'} class:lit={lit(who, hand, p.index)}> {p.hidden ? '?' : glyph(p.entry[hand], other)} {#if notes.length}{notes.join(', ')}{/if} {/each} | {/each} {/each}||
| {duel.turnNumber} | {#each columns as who (who)}? | ? | {/each}|
| {duel.timeStopped ? '' : duel.turnNumber}{#if duel.timeStopped}time stop{/if} | {#each ['left', 'right'] as const as hand (hand)}{#each duel.activeSets as set (set)} {@const undecided = duel.chosenGesture(set, hand) === null || duel.charmedHand === hand} {@const cast = duel.chosen[set][hand]} {duel.drawn(set, hand)} {#if cast && duel.sets[set][hand].spellId}{cast.spell.name}{/if} {/each} | {/each} {#each duel.others as who (who)}{#if !duel.timeStopped}?{/if} | {#if !duel.timeStopped}?{/if} | {/each}