The Result screen closes each Charades round. It reveals the movie that was being mimed, displays a live scoreboard for all teams, previews who performs next, and gives the host two navigation options: advance to the next turn or close the session and return to the lobby. GET /resultDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/dlampatricio/lamubi/llms.txt
Use this file to discover all available pages before exploring further.
What’s Displayed
Current Movie Card
TheMovieCard component is rendered with showHint={true} so the flip-hint indicator (corner triangle on mobile, hover label on desktop) is visible. When no movie prop is passed it falls back to current_movie from the game store. Players can tap the card to flip it and read the full synopsis, director, and genres — useful for post-round discussion about whether the mime was fair.
Score List
TheScoreList component reads teams from the game store and renders every team’s name alongside its current score. Scores are displayed as large tabular numerals and animate with a pop keyframe whenever a value changes.
Next Up Preview
Before the host presses Next Turn, the screen calculates and shows a preview of the next performer:nextPlayer is undefined.
Actions
Next Turn → /handoff
Next Turn → /handoff
Rendered as a
NavButton with the default (primary) variant.Sequence:- Calls
nextTeam():- Advances
current_team_indexto(current_team_index + 1) % teams.length. - Increments
current_player_indexon the team that just acted, cycling back to0after the last player. - Sets
game_stateback to'playing'. - Resets
timertoinitial_timer. - Pops the first movie from the
moviesqueue and sets it ascurrent_movie. - If
movies.length < 3after the pop, callsrefillMovies()to fetch another batch of eight from/api/movies?count=8and appends them to the queue.
- Advances
- Navigates to
/handoff.
Finish Game / Lobby → /lobby
Finish Game / Lobby → /lobby
Rendered as a
NavButton with variant="secondary".Navigates directly to /lobby. Scores are not reset by this action — the current standings are preserved in the Zustand persist store so the group can review them in the lobby. Call resetGame() (or resetScores()) manually from the lobby if you want to start fresh.