{gameManager.game.name}

{#if gameManager.state === GameState.INIT}

Spieler

{#each gameManager.players as player, i}
{/each}
{:else}
gameManager.sendPlayers()} /> {#if gameManager.state === GameState.SHOW_QUESTION}
{gameManager.category.name}
{gameManager.question.points} Punkte
{#if gameManager.question === undefined}

Question is undefined

{:else if isSimpleQuestion(gameManager.question)} {:else if isMultipleChoiceQuestion(gameManager.question)} {:else if isImageQuestion(gameManager.question)} {:else if isImageMultipleChoiceQuestion(gameManager.question)} {:else if isAudioQuestion(gameManager.question)} {:else if isAudioMultipleChoiceQuestion(gameManager.question)} {:else}

Type of question unknown

{/if}
{#if gameManager.questionIsShowing} {:else} {/if} {#if gameManager.answerIsShowing} {:else} {/if} {#if gameManager.isBuzzed} {:else} {/if} {#each gameManager.players as player} gameManager.plus(player)} minus={() => gameManager.minus(player)} showPlus={gameManager.answerIsShowing} /> {/each}
{#if gameManager.answerIsShowing} {/if}
{:else if gameManager.state === GameState.END}
ENDE
{:else}
gameManager.tileClicked(cat, que)} visited={gameManager.visitedQuestions} />
{/if}
{/if}