{#if gamePlaying}
{:else if loggedIn}

Choose a gamemode

{#if appState === APPSTATE.MATCHMAKING}
{:else if appState === APPSTATE.CREATE_GAME}
setAppState(APPSTATE.HOME)} on:keydown={() => setAppState(APPSTATE.HOME)} >
{/if} {:else if !connected} Connecting to game server... {:else if failedLogIn} Failed to log in to game server. Do you have multiple pages open at the same time? If yes, please close them and try again. {:else if !loggedIn} Logging in to game server... {/if}