{$t('play_page.join_description', { url: window.location.host === 'classquiz.de' ? 'cquiz.de' : `${window.location.host}/play`, pin: game_pin })}

(fullscreen_open = true)} alt="QR code to join the game" src="/api/v1/utils/qr/{game_pin}" class="block mx-auto w-1/2 dark:bg-white shadow-2xl rounded-sm hover:cursor-pointer" /> {#if cqc_code}

{#if players.length <= 1} {$t('play_page.players_waiting', { count: players.length ?? 0 })} {:else} {$t('play_page.players_waiting_plural', { count: players.length ?? 0 })} {/if}

{$t('play_page.join_by_entering_code')}

{:else}

{#if players.length <= 1} {$t('play_page.players_waiting', { count: players.length ?? 0 })} {:else} {$t('play_page.players_waiting_plural', { count: players.length ?? 0 })} {/if}

{/if}

{$t('words.pin')}: {game_pin}

{ socket.emit('start_game', ''); }} >{$t('admin_page.start_game')}
{#if players.length > 0} {#each players as player}
{ kick_player(player.username); }}>{player.username}
{/each} {/if}
{#if fullscreen_open}
(fullscreen_open = false)} tabindex="0" role="button" aria-label="Close modal" onkeydown={(e) => e.key === 'Enter' || e.key === ' ' ? () => { fullscreen_open = false; } : null} > QR code to join the game
{/if}