diff --git a/TODO.md b/TODO.md index c04750c..43cf658 100644 --- a/TODO.md +++ b/TODO.md @@ -8,7 +8,7 @@ - [x] **Teaching mode**. The creator/admin should have an option to seed themselves as the player who is forced to be the Deep for the first scene -- [ ] Visual feedback confirming hand refresh in Deep Upkeep +- [x] Visual feedback confirming hand refresh in Deep Upkeep - [ ] On the screen after pirat rank up voting, it should display the winner diff --git a/frontend/src/components/UpkeepPhase.svelte b/frontend/src/components/UpkeepPhase.svelte index bd6a1d5..513c7d7 100644 --- a/frontend/src/components/UpkeepPhase.svelte +++ b/frontend/src/components/UpkeepPhase.svelte @@ -254,6 +254,19 @@ {#if state.game.phase === 'between_scenes'}
Voting is currently in progress. Hand refresh will begin after voting concludes.
+ {:else if state.game.phase === 'deep_upkeep' && state.player.is_ready} + +✔️ Hand refreshed! You're holding {hand.length} card{hand.length === 1 ? '' : 's'} for the next scene.
+No cards in hand.
+ {/each} +Waiting for the rest of the crew to finish upkeep...
{:else if state.game.phase === 'deep_upkeep'}
Your Hand Size Limit: {maxHandSize} cards.
@@ -332,7 +345,7 @@
⚠️ Please complete your Hand Refresh above to proceed to the next scene.
{:else}