While you were away
move {idx + 1} of {steps.length}
{atEnd ? "back to the game" : "skip to now"}
{step.actor}
{#each lines as line, i (i)}
{line}
{/each} {#if lines.length === 0}
…considers the maze.
{/if}
{ playing = false; idx = Math.max(0, idx - 1); }} aria-label="previous move">◀
(playing = !playing)} aria-label={playing ? "pause" : "play"}> {playing ? "❚❚" : "▶"}
{ playing = false; idx = Math.min(steps.length - 1, idx + 1); }} aria-label="next move">▶