e.key === 'Enter' && runCheck()} placeholder={t('game.checkWordPrompt')} />
{#if unavailable}

{t('game.checkOffline')}

{:else if result}

{result.legal ? t('game.wordLegal', { word: result.word }) : t('game.wordIllegal', { word: result.word })}

{#if !isLocalGameId(id) && connection.online} {/if} {#if result.legal && connection.online} {t('game.lookup')} {/if}
{/if}