Scene Setup (Scene #{state.game.current_scene_number})

Select your role for the upcoming scene. There must be at least one Pi-Rat and one Deep player. If you played the Deep in the last scene, you must play a Pi-Rat this scene!

{#if state.game.current_scene_number === 1}

🚢 First Scene Framing

The first scene must establish that the Pi-Rats are on a ship they can steal (or have an immediate opportunity to steal one). Don't start far from water! {#if state.player.role === 'deep'}
You're playing the Deep — once the scene starts, describe where the crew is and what ship is ripe for the taking before calling any Challenges. {/if}

{/if}

Select Your Role

{#if state.player.needs_reroll}

🐀 You don't have a Pi-Rat yet! You'll spectate this scene and create your recruit with the crew between scenes.

{/if}
{#if !allowedRoles.includes('pirat') && !state.player.needs_reroll} {#if state.game.current_scene_number === 1}

You start at Rank 3, so you must play The Deep for the first scene!

{:else}

You are the only eligible player for The Deep this scene!

{/if} {/if} {#if !allowedRoles.includes('deep') && !state.player.needs_reroll} {#if state.game.current_scene_number === 1}

You start at Rank 1, so you must play your Pi-Rat for the first scene!

{:else}

You played The Deep last scene, so you must play a Pi-Rat!

{/if} {/if}

Live Roster Selection

{#each state.players as p}
{displayName(p)} (Rank {p.rank}) {#if p.role === 'pirat'} Pi-Rat {:else if p.role === 'deep'} The Deep {:else} Choosing... {/if}
{/each}
{#if error}
{error}
{/if} {#if canStart} {:else if !enoughPlayers}

You need at least 3 players to start a scene — share the join link!

{:else if !allRolesAssigned}

Waiting for all players to choose a role...

{:else if !deepPlayer}

Someone must play as The Deep!

{:else if !piratPlayer}

Someone must play as a Pi-Rat!

{:else}

Waiting for The Deep or Creator to start the scene...

{/if}