e.key === 'Enter' && runCheck()}
placeholder={t('game.checkWordPrompt')}
/>
{#if result}
{result.legal
? t('game.wordLegal', { word: result.word })
: t('game.wordIllegal', { word: result.word })}
{#if !isLocalGameId(id)}
{/if}
{#if result.legal}
{t('game.lookup')}
{/if}
{/if}