Editor
Rules
match history
{#each matches as match}
selectMatch(match.id)} class:selected={match.id === selectedMatchId} >
{formatMatchTimestamp(match.timestamp)}
{match["players"][1]["bot_name"]}
{/each}
{#if viewMode === ViewMode.MatchVisualizer}
{:else if viewMode === ViewMode.Editor}
{:else if viewMode === ViewMode.Rules}
{/if}
{#if viewMode === ViewMode.MatchVisualizer}
{:else if viewMode === ViewMode.Editor}
{/if}