Polish the table UI: trick flight, trump crown, logo, Grandpa, flip-bid counter #10

Merged
cmoriarty merged 1 commit from table-ui-polish into main 2026-11-07 01:07:53 -05:00
Owner

A round of table-UI polish, all verified on desktop + the iOS simulator.

  • Card cutoff fixed; played cards badged with the player's avatar.
  • New trick-win animation: cards fly in an arc to the winner's seat and morph into the trick icon (Web Animations API, reduced-motion safe).
  • "Trump" is now a gold crown with a hover tooltip.
  • Wordmark replaced with a Playful Script logo.
  • New bot, Grandpa: bids 0 and ducks to bank the easy point.
  • Seat names/bids redesigned (bigger, 2-line wrap, gold tricks-won pill); mobile seats widened so names no longer clip.
  • Bidding is now an animated split-flap counter (− / + / Commit) that skips the dealer-restriction's forbidden bid.

Tests: 150/150 passing, typecheck clean.

A round of table-UI polish, all verified on desktop + the iOS simulator. - Card cutoff fixed; played cards badged with the player's avatar. - New trick-win animation: cards fly in an arc to the winner's seat and morph into the trick icon (Web Animations API, reduced-motion safe). - "Trump" is now a gold crown with a hover tooltip. - Wordmark replaced with a Playful Script logo. - New bot, Grandpa: bids 0 and ducks to bank the easy point. - Seat names/bids redesigned (bigger, 2-line wrap, gold tricks-won pill); mobile seats widened so names no longer clip. - Bidding is now an animated split-flap counter (− / + / Commit) that skips the dealer-restriction's forbidden bid. Tests: 150/150 passing, typecheck clean.
- Fix bottom-corner card indices being clipped
- Badge played cards with the player's avatar
- Trick-win flight: cards arc to the winner and morph into the trick icon
- Replace the "Trump" label with a gold crown + hover tooltip
- Swap the wordmark for a Playful Script logo (Pacifico)
- Add the Grandpa bot (bids 0, ducks to burn opponents' high cards)
- Redesign seat name/bid text; widen mobile seats so long names wrap
- Replace the bid button row with an animated split-flap counter
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
cmoriarty/scratch-vllm-fp8!10
No description provided.