UX and visual review: 21 tasks from desktop and iOS PWA playtest #1

Closed
opened 2026-11-11 01:45:34 -05:00 by cmoriarty · 1 comment
Owner

Scratch: UX and visual review, written as tasks for a coding agent

Target: https://scratch.apps.underthere.xyz/
Reviewed 2026-11-09 by playing against bots.

How this was tested

  • Desktop: Chromium, 1024x768 viewport. One full 10-round "Down" game with three bots (Cautious Carl, Aggressive Archie, Master Marge), through to the Winner screen.
  • Mobile: iPhone 17 Pro simulator (402x874 pt). Opened in Safari, installed with Share > Add to Home Screen ("Open as Web App" on), launched from the home screen in standalone mode, and played part of a 5-player round.
  • Not tested: sound, games with other humans, reconnect, Android, tablets, drag-to-reorder in the hand, the Down-and-Up schedule, the dealer-restriction rule.

Sizes quoted for mobile are measured from simulator screenshots, so treat them as accurate to about 2 pt.

Instructions for the implementing agent

  • Every task applies to both desktop and mobile unless it says otherwise. A task is not done until its acceptance criteria hold at 402x874 (iPhone, standalone PWA), 360x640 (small Android), and 1024x768 and 1440x900 (desktop).
  • Reuse the existing design tokens on :root rather than adding new colours: --felt-1 #1c7a54, --felt-2 #0d4a30, --felt-edge #08301f, --ivory #fbf8ef, --ink #181820, --red #c22f3a, --gold #e8c877, --panel #10261d, --panel-2 #16352a, --text #f3efe4, --muted #a9b8ad, --accent #2fbf8f, --danger #e0654f, --card-w 72px.
  • Existing hooks seen in the DOM: .hand, .hand-card, .card.card-face (inline SVG, viewBox 0 0 60 84), turn pills as [role=status]. Existing keyframes: flip-in, deal-in, trump-flip, crown-drop, card-to-center, trick-pop, scratch-slash, confetti-fall, pop-in.
  • The stylesheet has only one breakpoint (max-width: 480px) and no env(safe-area-inset-*) usage. Several tasks below need both.
  • Keep the existing prefers-reduced-motion handling working for every new animation.
  • Do the tasks in the order given. Section A is defects, B is game clarity, C is look and feel.

What already works and should be kept: the felt-and-gold palette, the card-flies-to-centre and trick-sweeps-to-winner animations, greying out cards that are not legal to play, the bot personalities, the confetti, and the PWA icon and manifest.


A. Defects

A1. Mobile: the hand sits under the iOS home indicator

Observed: in the installed PWA the bottom edge of the hand is about 10 pt from the bottom of the screen. The home indicator zone is 34 pt, so tapping the lower half of a card competes with the system swipe-up gesture. The CSS contains no safe-area insets.

Change:

  • Add viewport-fit=cover to the viewport meta.
  • Pad the app shell with env(safe-area-inset-top/right/bottom/left). The hand container needs padding-bottom: max(12px, env(safe-area-inset-bottom)).
  • Size the game screen with 100dvh, not 100vh.

Accept: on an iPhone with a home indicator, no interactive element is inside the bottom 34 pt or under the status bar. Nothing changes on desktop.

A2. The bid panel resizes the table and makes elements collide

Observed (desktop, 1024x768): when it is my turn to bid, a bid panel is inserted between the table and the hand. The table shrinks from about 420 px to about 275 px tall, and the "Round 2 · 9 cards" pill and the trump card end up drawn on top of Aggressive Archie's seat panel.
Observed (mobile): the same insertion makes the round pill, trump card and my own seat jump upward by about 75 pt, then jump back after I commit.
Also observed: when the hand empties on the last trick, the table grows to fill the space, which is another jump.

Change: the table must keep a fixed size for the whole round. Render the bid control as an overlay inside the table's centre area (where tricks are played, which is empty during bidding), or reserve its space permanently. Do not let the hand's height depend on how many cards remain.

Accept: record the bounding box of the table, the round pill and the trump card at these moments: bots bidding, my bid, play, last trick. They are identical in all four. No element overlaps a seat panel at any tested viewport.

A3. Mobile: turn pills are clipped and overlap neighbours

Observed: with four opponents the seats form a 2x2 grid. The "Bidding" / "To play" pill on a top-row seat is cut off by the table's top edge. On a bottom-row seat it covers the "Scratches" line of the seat above.

Change: put the turn indicator inside the seat panel (for example a gold ring around the avatar plus a gold panel border, with the label inside the panel), or reserve a gap above every seat that is tall enough for the pill.

Accept: for every seat position with 2 to 5 players, the turn indicator is fully visible and covers no other text.

A4. Mobile: touch targets are too small

Measured: header buttons (Scoreboard, Help, Sound, Leave) about 25 pt tall. Sort about 24 pt tall. "Remove" on a seated bot about 24 pt tall. Bid - and + about 39 pt. In a 10-card hand each card shows a strip about 24 pt wide.

Change:

  • Minimum 44x44 pt hit area for every button on touch screens.
  • Hand: when the visible strip per card would be under 32 pt, lay the hand out in two rows or increase the fan spacing and allow the row to use the full screen width (it currently leaves about 60 pt unused on each side).

Accept: no tappable element has a hit area under 44x44 pt at 402 pt and 360 pt widths. A 10-card hand shows at least 32 pt of every card.

A5. Mobile: the scoreboard is cut off on the right

Observed: with 5 players the scoreboard table is wider than the modal. "Aggressive Archie" is cut mid-word and the fifth player's column is not visible. The round table and the totals table also use different column widths, so their columns do not line up.

Change: on narrow screens put players in rows and rounds in columns (one row per player: avatar, name, total scratches, then one cell per round, scrolling horizontally with the name column pinned). Merge the totals into that same table. On desktop keep one table with aligned columns.

Accept: at 360 pt wide with 5 players, every player's name and total scratches are visible without scrolling. Round cells scroll horizontally with a visible edge fade.

A6. iOS: the selected card's outline is a square box

Observed: after the first tap, the selected card gets a gold rectangular frame with square corners around a rounded card, and the frame is offset from the card.

Change: draw the selected state on the card itself (a 2 px --gold stroke on the SVG rect or a border-radius-matched box-shadow), and remove the default focus outline on .hand-card in favour of a :focus-visible style with matching radius.

Accept: the selected highlight follows the card's rounded corners on iOS Safari and desktop Chromium.

A7. PWA launch flashes white

Observed: opening the site in Safari and launching the installed app both show a blank white screen before the dark UI paints.

Change: set background: #06120d on html in an inline <style> in the document head, add <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> (only together with A1), and add apple-touch-startup-image splash images. Provide a separate maskable icon with safe-zone padding instead of reusing icon-512.png for both any and maskable.

Accept: no white frame appears between tapping the home-screen icon and the lobby.


B. Game clarity

B1. Label the bid and tricks numbers and show live status

Observed: every seat shows two numbers such as 2 / 1. Nothing says which is the bid and which is tricks won. A player who has already missed (Cautious Carl bid 0 and had taken 5) looks the same as a player who is on target, until the round ends.

Change: show Bid 2 · Won 1. Colour the seat's status by state during play:

  • on target (won equals bid): --accent
  • still needs tricks (won below bid): neutral
  • over (won above bid): --danger, with the seat marked as scratched for this round
  • cannot reach bid (tricks remaining is less than bid minus won): --danger
    Before a player has bid, show "Bid –" with no tricks figure.

Accept: a first-time player can tell from the seat alone who is on target and who has already scratched. State is never conveyed by colour alone (add an icon or word).

B2. Show total bids against tricks available

Observed: the sum of bids is not shown anywhere. In this game that number is the main input to a bidding decision.

Change: next to the round pill show Bids 13 / 10 tricks with a short tag: "over by 3", "under by 2" or "even". Update it as each bid lands. When the dealer-restriction rule is on, show the forbidden number on the dealer's bid control.

Accept: the figure is correct after every bid and remains visible during play on both platforms.

B3. Make trump unmistakable

Observed: trump is a small face-up card (smaller than the played cards) with a crown emoji under it. On mobile it is about 35 pt wide. Trump cards in my hand look like any other card.

Change:

  • Replace the crown emoji with a labelled badge: the word "Trump" and a large suit glyph. Keep the flipped card next to it.
  • Mark trump cards in the hand with a small gold corner tab or gold edge.
  • After sorting, show a slightly larger gap between suits.

Accept: with the page at arm's length on a phone, the trump suit can be read in under a second, and trump cards in the hand can be picked out without reading each index.

B4. Give each trick a readable ending

Observed: when the last card lands, the trick sits briefly and then all cards sweep to the winner's seat. Nothing shows which card won or why. The tally that results is a row of card-back icons about 4x6 pt, too small to count.

Change:

  • Before the sweep, hold for about 700 ms: lift and gold-outline the winning card, dim the others, and show a caption such as "Master Marge takes it with A♠".
  • Mark the led suit on the first card of the trick.
  • Replace the tiny card-back tally with pips sized for counting: one outlined pip per trick bid, filled as tricks are won, and extra pips in --danger when over.

Accept: a spectator who looks away during a trick can tell who won it and with what card. The trick tally is legible at 402 pt wide.

B5. Add a round-end summary

Observed: after the last trick of a round, the next round is dealt almost immediately. Scratches are shown only as a small red slash on the seat panels while the new deal is already animating. This is the main scoring moment of the game and it passes without a pause.

Change: show a round result panel over the table for about 2.5 s (tap or click to skip, and a "Next round" button): one row per player with bid, tricks won, and "Hit" or "Scratch". Play the existing scratch-slash animation here, on the rows, at a size people can see. Then deal the next round.

Accept: every round ends with the summary. It never blocks longer than 3 s without input. The final round goes from the summary to the Winner screen.

B6. Replace the bid stepper with direct choice

Observed: bidding uses -, a number, +, then "Commit N". It starts at 0, so a bid of 6 takes seven taps, and a stray tap on Commit locks in 0.

Change: show one chip per legal bid (0 to hand size), wrapping onto two rows on mobile. Tapping a chip selects it, and a single "Bid 3" button confirms. Start with nothing selected and the confirm button disabled. Grey out the dealer's forbidden bid when that rule is on.

Accept: any bid takes two taps. It is impossible to commit without choosing a number.

B7. Explain the two-tap play

Observed: the first tap lifts a card and the second tap plays it. Nothing on screen says so. On a phone the lifted card also covers its neighbour's index.

Change: when a card is selected, show a "Play 2♦" button directly above the hand (also triggered by tapping the card again), and let a tap elsewhere deselect. Add an optional "tap once to play" setting. Support dragging a card onto the table to play it.

Accept: a new player completes their first play without guessing. The selected card's neighbours stay readable.


C. Look and feel

C1. Lay the table out as a table

Observed (desktop): all opponents sit in one row along the top edge, my own seat is a panel in the middle of the lower felt, and the hand lies on a near-black strip outside the table. At 1024 px the hand is tightly overlapped even though most of the width is empty.
Observed (mobile): opponents take a 2x2 grid at the top, and about 40% of the felt below them is empty.

Change:

  • Desktop: place seats around the felt (left, top-left, top-right, right for four opponents, me at the bottom). Play each card toward the centre from its owner's side, and keep it on that side of the trick pile so position shows who played it.
  • Put the hand on the felt, or style the bottom strip as the table rail, so the hand is part of the table.
  • Desktop: spread the hand so each card shows at least half its width when space allows.
  • Mobile: compact opponent seats to avatar, name, bid and pips (one row each, or avatar chips along the top), and give the reclaimed height to larger played cards and a larger hand.
  • Merge my own seat info into a slim bar directly above the hand in place of a floating panel.

Accept: on desktop, who played each card is readable from position alone. On mobile, played cards are at least 64 pt wide and no more than 15% of the felt is empty during play.

C2. Give the cards more character

Observed: every card is rank, small suit, and one centre pip. A 7 and a King have the same layout. Ranks use Georgia. In the fanned hand only the top-left index is visible, and it is small.

Change:

  • Enlarge the corner index (rank and suit) by about 30% and make sure both stay visible in the tightest fan.
  • Give J, Q, K and A distinct centre art in the existing flat style (a simple monogram in a frame is enough).
  • Number cards: use a proper pip layout, or one large pip with the rank repeated large in the centre.
  • Add a subtle paper texture or inner border, and a designed card back (for the deal animation and the trick tally).
  • Add a four-colour deck option in settings (clubs green, diamonds blue).

Accept: court cards can be told from number cards by shape alone. The index is legible at a 24 pt strip width.

C3. One typographic voice

Observed: the in-game header uses a script logo (Pacifico) with a heart. The lobby title "Scratch" is plain sans-serif. Card ranks are Georgia. Body text is "Segoe UI", system-ui, which renders differently on every platform.

Change: use the script logo on the lobby, waiting room and Winner screen. Pick one display face for headings and numerals (bids, round pill, scores) and one UI face, and self-host both. Use tabular numerals for all scores.

Accept: the lobby and game header show the same logo. Fonts render the same on macOS, Windows, iOS and Android.

C4. Lobby and waiting room

Observed:

  • Lobby: "Create game" and "Join with code" are dimmed until a name is typed, with no message saying why. The card is a plain panel with no card imagery.
  • Waiting room (mobile): the "How to play" button wraps to three lines. The bot list is five stacked blocks with a full-width "Seat" button each, so "Start game" is two screens down. Bots in the picker have no avatar, though they do once seated.
  • The disabled start button reads "Need at least 2 players" in the same style as an enabled primary button, only dimmer.

Change:

  • Lobby: add a line under the name field ("Enter a name to start") while the buttons are disabled, and focus the field on load. Add a small fanned-cards illustration with the logo.
  • Waiting room: tapping an empty seat opens the bot picker. Show bots as a horizontal row of avatar chips with name and one-line style, tap to seat. Keep "Start game" pinned to the bottom of the screen. Add a copy/share button beside the room code (use navigator.share where available). Keep "How to play" on one line.

Accept: on a 402 pt screen the room code, all seats, and the Start button are visible together without scrolling when the room is full.

C5. Winner screen

Observed: the table disappears and a small panel shows "Winner!", the name, and a plain table in seat order. The winner's row is not highlighted, rows are not sorted, and the confetti is sparse. The primary button says "Accept rematch" even for the person who created the room.

Change: sort by rank and number the places. Show the winner's avatar large with a crown, and highlight their row in --gold. Add one line of colour per player from the game data (for example "hit 5 of 10 bids", "longest streak 3"). Label the button "Rematch" for the host and "Accept rematch" only after a rematch has been offered. Keep the felt visible behind the panel.

Accept: the winner and my own place can be found at a glance. Ties show as shared places.

C6. Header on mobile

Observed: four text buttons plus the logo fill the full width at 402 pt and would not fit at 360 pt. "Sound" uses an emoji that renders differently per platform.

Change: on narrow screens use icon buttons (scoreboard, help, sound on/off) with accessible labels, and move Leave into an overflow menu with a confirmation. Use SVG icons, not emoji. Show the round number in the header so it stays visible when the scoreboard is closed.

Accept: the header fits on one line at 360 pt with 44 pt targets.

C7. Pacing and life

Observed: a four-player trick took about 6 seconds, mostly waiting for bots one at a time, and the 10-round game took roughly 10 minutes. (My seat was played by a script for rounds 2 to 10, which added up to 2 seconds per trick, so treat these as upper bounds.) Bots have distinct avatars and descriptions but never react.

Change: add a game speed setting (Relaxed, Normal, Fast) that scales bot think time and animation length. Give bots short speech bubbles at key moments (Archie on a big bid, Carl on taking an unwanted trick, a groan on a scratch, a cheer on hitting a bid). Pulse my seat and hand when it becomes my turn. Add navigator.vibrate on my turn where supported.

Accept: on Fast, a four-player trick with three bots resolves in under 3 seconds. Reactions never delay play.


Outside the visual brief, worth knowing

  • Aggressive Archie bid the maximum in most rounds (10 of 10, 9 of 9, 7 of 7) and finished with 10 scratches in 10 rounds. With one bot always bidding the whole hand, total bids always exceed the tricks available, which removes most of the tension from bidding. Consider capping him at an aggressive but possible bid.
  • Cautious Carl bid 0 in every round observed, including the 10-card round, and finished with 7 scratches.
  • Final standings in the test game: Master Marge 5 scratches, Claude 6, Cautious Carl 7, Aggressive Archie 10.
# Scratch: UX and visual review, written as tasks for a coding agent Target: https://scratch.apps.underthere.xyz/ Reviewed 2026-11-09 by playing against bots. ## How this was tested - Desktop: Chromium, 1024x768 viewport. One full 10-round "Down" game with three bots (Cautious Carl, Aggressive Archie, Master Marge), through to the Winner screen. - Mobile: iPhone 17 Pro simulator (402x874 pt). Opened in Safari, installed with Share > Add to Home Screen ("Open as Web App" on), launched from the home screen in standalone mode, and played part of a 5-player round. - Not tested: sound, games with other humans, reconnect, Android, tablets, drag-to-reorder in the hand, the Down-and-Up schedule, the dealer-restriction rule. Sizes quoted for mobile are measured from simulator screenshots, so treat them as accurate to about 2 pt. ## Instructions for the implementing agent - Every task applies to both desktop and mobile unless it says otherwise. A task is not done until its acceptance criteria hold at 402x874 (iPhone, standalone PWA), 360x640 (small Android), and 1024x768 and 1440x900 (desktop). - Reuse the existing design tokens on `:root` rather than adding new colours: `--felt-1 #1c7a54`, `--felt-2 #0d4a30`, `--felt-edge #08301f`, `--ivory #fbf8ef`, `--ink #181820`, `--red #c22f3a`, `--gold #e8c877`, `--panel #10261d`, `--panel-2 #16352a`, `--text #f3efe4`, `--muted #a9b8ad`, `--accent #2fbf8f`, `--danger #e0654f`, `--card-w 72px`. - Existing hooks seen in the DOM: `.hand`, `.hand-card`, `.card.card-face` (inline SVG, viewBox `0 0 60 84`), turn pills as `[role=status]`. Existing keyframes: `flip-in`, `deal-in`, `trump-flip`, `crown-drop`, `card-to-center`, `trick-pop`, `scratch-slash`, `confetti-fall`, `pop-in`. - The stylesheet has only one breakpoint (`max-width: 480px`) and no `env(safe-area-inset-*)` usage. Several tasks below need both. - Keep the existing `prefers-reduced-motion` handling working for every new animation. - Do the tasks in the order given. Section A is defects, B is game clarity, C is look and feel. What already works and should be kept: the felt-and-gold palette, the card-flies-to-centre and trick-sweeps-to-winner animations, greying out cards that are not legal to play, the bot personalities, the confetti, and the PWA icon and manifest. --- ## A. Defects ### A1. Mobile: the hand sits under the iOS home indicator Observed: in the installed PWA the bottom edge of the hand is about 10 pt from the bottom of the screen. The home indicator zone is 34 pt, so tapping the lower half of a card competes with the system swipe-up gesture. The CSS contains no safe-area insets. Change: - Add `viewport-fit=cover` to the viewport meta. - Pad the app shell with `env(safe-area-inset-top/right/bottom/left)`. The hand container needs `padding-bottom: max(12px, env(safe-area-inset-bottom))`. - Size the game screen with `100dvh`, not `100vh`. Accept: on an iPhone with a home indicator, no interactive element is inside the bottom 34 pt or under the status bar. Nothing changes on desktop. ### A2. The bid panel resizes the table and makes elements collide Observed (desktop, 1024x768): when it is my turn to bid, a bid panel is inserted between the table and the hand. The table shrinks from about 420 px to about 275 px tall, and the "Round 2 · 9 cards" pill and the trump card end up drawn on top of Aggressive Archie's seat panel. Observed (mobile): the same insertion makes the round pill, trump card and my own seat jump upward by about 75 pt, then jump back after I commit. Also observed: when the hand empties on the last trick, the table grows to fill the space, which is another jump. Change: the table must keep a fixed size for the whole round. Render the bid control as an overlay inside the table's centre area (where tricks are played, which is empty during bidding), or reserve its space permanently. Do not let the hand's height depend on how many cards remain. Accept: record the bounding box of the table, the round pill and the trump card at these moments: bots bidding, my bid, play, last trick. They are identical in all four. No element overlaps a seat panel at any tested viewport. ### A3. Mobile: turn pills are clipped and overlap neighbours Observed: with four opponents the seats form a 2x2 grid. The "Bidding" / "To play" pill on a top-row seat is cut off by the table's top edge. On a bottom-row seat it covers the "Scratches" line of the seat above. Change: put the turn indicator inside the seat panel (for example a gold ring around the avatar plus a gold panel border, with the label inside the panel), or reserve a gap above every seat that is tall enough for the pill. Accept: for every seat position with 2 to 5 players, the turn indicator is fully visible and covers no other text. ### A4. Mobile: touch targets are too small Measured: header buttons (Scoreboard, Help, Sound, Leave) about 25 pt tall. Sort about 24 pt tall. "Remove" on a seated bot about 24 pt tall. Bid `-` and `+` about 39 pt. In a 10-card hand each card shows a strip about 24 pt wide. Change: - Minimum 44x44 pt hit area for every button on touch screens. - Hand: when the visible strip per card would be under 32 pt, lay the hand out in two rows or increase the fan spacing and allow the row to use the full screen width (it currently leaves about 60 pt unused on each side). Accept: no tappable element has a hit area under 44x44 pt at 402 pt and 360 pt widths. A 10-card hand shows at least 32 pt of every card. ### A5. Mobile: the scoreboard is cut off on the right Observed: with 5 players the scoreboard table is wider than the modal. "Aggressive Archie" is cut mid-word and the fifth player's column is not visible. The round table and the totals table also use different column widths, so their columns do not line up. Change: on narrow screens put players in rows and rounds in columns (one row per player: avatar, name, total scratches, then one cell per round, scrolling horizontally with the name column pinned). Merge the totals into that same table. On desktop keep one table with aligned columns. Accept: at 360 pt wide with 5 players, every player's name and total scratches are visible without scrolling. Round cells scroll horizontally with a visible edge fade. ### A6. iOS: the selected card's outline is a square box Observed: after the first tap, the selected card gets a gold rectangular frame with square corners around a rounded card, and the frame is offset from the card. Change: draw the selected state on the card itself (a 2 px `--gold` stroke on the SVG rect or a `border-radius`-matched `box-shadow`), and remove the default focus outline on `.hand-card` in favour of a `:focus-visible` style with matching radius. Accept: the selected highlight follows the card's rounded corners on iOS Safari and desktop Chromium. ### A7. PWA launch flashes white Observed: opening the site in Safari and launching the installed app both show a blank white screen before the dark UI paints. Change: set `background: #06120d` on `html` in an inline `<style>` in the document head, add `<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">` (only together with A1), and add `apple-touch-startup-image` splash images. Provide a separate maskable icon with safe-zone padding instead of reusing `icon-512.png` for both `any` and `maskable`. Accept: no white frame appears between tapping the home-screen icon and the lobby. --- ## B. Game clarity ### B1. Label the bid and tricks numbers and show live status Observed: every seat shows two numbers such as `2 / 1`. Nothing says which is the bid and which is tricks won. A player who has already missed (Cautious Carl bid 0 and had taken 5) looks the same as a player who is on target, until the round ends. Change: show `Bid 2 · Won 1`. Colour the seat's status by state during play: - on target (won equals bid): `--accent` - still needs tricks (won below bid): neutral - over (won above bid): `--danger`, with the seat marked as scratched for this round - cannot reach bid (tricks remaining is less than bid minus won): `--danger` Before a player has bid, show "Bid –" with no tricks figure. Accept: a first-time player can tell from the seat alone who is on target and who has already scratched. State is never conveyed by colour alone (add an icon or word). ### B2. Show total bids against tricks available Observed: the sum of bids is not shown anywhere. In this game that number is the main input to a bidding decision. Change: next to the round pill show `Bids 13 / 10 tricks` with a short tag: "over by 3", "under by 2" or "even". Update it as each bid lands. When the dealer-restriction rule is on, show the forbidden number on the dealer's bid control. Accept: the figure is correct after every bid and remains visible during play on both platforms. ### B3. Make trump unmistakable Observed: trump is a small face-up card (smaller than the played cards) with a crown emoji under it. On mobile it is about 35 pt wide. Trump cards in my hand look like any other card. Change: - Replace the crown emoji with a labelled badge: the word "Trump" and a large suit glyph. Keep the flipped card next to it. - Mark trump cards in the hand with a small gold corner tab or gold edge. - After sorting, show a slightly larger gap between suits. Accept: with the page at arm's length on a phone, the trump suit can be read in under a second, and trump cards in the hand can be picked out without reading each index. ### B4. Give each trick a readable ending Observed: when the last card lands, the trick sits briefly and then all cards sweep to the winner's seat. Nothing shows which card won or why. The tally that results is a row of card-back icons about 4x6 pt, too small to count. Change: - Before the sweep, hold for about 700 ms: lift and gold-outline the winning card, dim the others, and show a caption such as "Master Marge takes it with A♠". - Mark the led suit on the first card of the trick. - Replace the tiny card-back tally with pips sized for counting: one outlined pip per trick bid, filled as tricks are won, and extra pips in `--danger` when over. Accept: a spectator who looks away during a trick can tell who won it and with what card. The trick tally is legible at 402 pt wide. ### B5. Add a round-end summary Observed: after the last trick of a round, the next round is dealt almost immediately. Scratches are shown only as a small red slash on the seat panels while the new deal is already animating. This is the main scoring moment of the game and it passes without a pause. Change: show a round result panel over the table for about 2.5 s (tap or click to skip, and a "Next round" button): one row per player with bid, tricks won, and "Hit" or "Scratch". Play the existing `scratch-slash` animation here, on the rows, at a size people can see. Then deal the next round. Accept: every round ends with the summary. It never blocks longer than 3 s without input. The final round goes from the summary to the Winner screen. ### B6. Replace the bid stepper with direct choice Observed: bidding uses `-`, a number, `+`, then "Commit N". It starts at 0, so a bid of 6 takes seven taps, and a stray tap on Commit locks in 0. Change: show one chip per legal bid (0 to hand size), wrapping onto two rows on mobile. Tapping a chip selects it, and a single "Bid 3" button confirms. Start with nothing selected and the confirm button disabled. Grey out the dealer's forbidden bid when that rule is on. Accept: any bid takes two taps. It is impossible to commit without choosing a number. ### B7. Explain the two-tap play Observed: the first tap lifts a card and the second tap plays it. Nothing on screen says so. On a phone the lifted card also covers its neighbour's index. Change: when a card is selected, show a "Play 2♦" button directly above the hand (also triggered by tapping the card again), and let a tap elsewhere deselect. Add an optional "tap once to play" setting. Support dragging a card onto the table to play it. Accept: a new player completes their first play without guessing. The selected card's neighbours stay readable. --- ## C. Look and feel ### C1. Lay the table out as a table Observed (desktop): all opponents sit in one row along the top edge, my own seat is a panel in the middle of the lower felt, and the hand lies on a near-black strip outside the table. At 1024 px the hand is tightly overlapped even though most of the width is empty. Observed (mobile): opponents take a 2x2 grid at the top, and about 40% of the felt below them is empty. Change: - Desktop: place seats around the felt (left, top-left, top-right, right for four opponents, me at the bottom). Play each card toward the centre from its owner's side, and keep it on that side of the trick pile so position shows who played it. - Put the hand on the felt, or style the bottom strip as the table rail, so the hand is part of the table. - Desktop: spread the hand so each card shows at least half its width when space allows. - Mobile: compact opponent seats to avatar, name, bid and pips (one row each, or avatar chips along the top), and give the reclaimed height to larger played cards and a larger hand. - Merge my own seat info into a slim bar directly above the hand in place of a floating panel. Accept: on desktop, who played each card is readable from position alone. On mobile, played cards are at least 64 pt wide and no more than 15% of the felt is empty during play. ### C2. Give the cards more character Observed: every card is rank, small suit, and one centre pip. A 7 and a King have the same layout. Ranks use Georgia. In the fanned hand only the top-left index is visible, and it is small. Change: - Enlarge the corner index (rank and suit) by about 30% and make sure both stay visible in the tightest fan. - Give J, Q, K and A distinct centre art in the existing flat style (a simple monogram in a frame is enough). - Number cards: use a proper pip layout, or one large pip with the rank repeated large in the centre. - Add a subtle paper texture or inner border, and a designed card back (for the deal animation and the trick tally). - Add a four-colour deck option in settings (clubs green, diamonds blue). Accept: court cards can be told from number cards by shape alone. The index is legible at a 24 pt strip width. ### C3. One typographic voice Observed: the in-game header uses a script logo (Pacifico) with a heart. The lobby title "Scratch" is plain sans-serif. Card ranks are Georgia. Body text is `"Segoe UI", system-ui`, which renders differently on every platform. Change: use the script logo on the lobby, waiting room and Winner screen. Pick one display face for headings and numerals (bids, round pill, scores) and one UI face, and self-host both. Use tabular numerals for all scores. Accept: the lobby and game header show the same logo. Fonts render the same on macOS, Windows, iOS and Android. ### C4. Lobby and waiting room Observed: - Lobby: "Create game" and "Join with code" are dimmed until a name is typed, with no message saying why. The card is a plain panel with no card imagery. - Waiting room (mobile): the "How to play" button wraps to three lines. The bot list is five stacked blocks with a full-width "Seat" button each, so "Start game" is two screens down. Bots in the picker have no avatar, though they do once seated. - The disabled start button reads "Need at least 2 players" in the same style as an enabled primary button, only dimmer. Change: - Lobby: add a line under the name field ("Enter a name to start") while the buttons are disabled, and focus the field on load. Add a small fanned-cards illustration with the logo. - Waiting room: tapping an empty seat opens the bot picker. Show bots as a horizontal row of avatar chips with name and one-line style, tap to seat. Keep "Start game" pinned to the bottom of the screen. Add a copy/share button beside the room code (use `navigator.share` where available). Keep "How to play" on one line. Accept: on a 402 pt screen the room code, all seats, and the Start button are visible together without scrolling when the room is full. ### C5. Winner screen Observed: the table disappears and a small panel shows "Winner!", the name, and a plain table in seat order. The winner's row is not highlighted, rows are not sorted, and the confetti is sparse. The primary button says "Accept rematch" even for the person who created the room. Change: sort by rank and number the places. Show the winner's avatar large with a crown, and highlight their row in `--gold`. Add one line of colour per player from the game data (for example "hit 5 of 10 bids", "longest streak 3"). Label the button "Rematch" for the host and "Accept rematch" only after a rematch has been offered. Keep the felt visible behind the panel. Accept: the winner and my own place can be found at a glance. Ties show as shared places. ### C6. Header on mobile Observed: four text buttons plus the logo fill the full width at 402 pt and would not fit at 360 pt. "Sound" uses an emoji that renders differently per platform. Change: on narrow screens use icon buttons (scoreboard, help, sound on/off) with accessible labels, and move Leave into an overflow menu with a confirmation. Use SVG icons, not emoji. Show the round number in the header so it stays visible when the scoreboard is closed. Accept: the header fits on one line at 360 pt with 44 pt targets. ### C7. Pacing and life Observed: a four-player trick took about 6 seconds, mostly waiting for bots one at a time, and the 10-round game took roughly 10 minutes. (My seat was played by a script for rounds 2 to 10, which added up to 2 seconds per trick, so treat these as upper bounds.) Bots have distinct avatars and descriptions but never react. Change: add a game speed setting (Relaxed, Normal, Fast) that scales bot think time and animation length. Give bots short speech bubbles at key moments (Archie on a big bid, Carl on taking an unwanted trick, a groan on a scratch, a cheer on hitting a bid). Pulse my seat and hand when it becomes my turn. Add `navigator.vibrate` on my turn where supported. Accept: on Fast, a four-player trick with three bots resolves in under 3 seconds. Reactions never delay play. --- ## Outside the visual brief, worth knowing - Aggressive Archie bid the maximum in most rounds (10 of 10, 9 of 9, 7 of 7) and finished with 10 scratches in 10 rounds. With one bot always bidding the whole hand, total bids always exceed the tricks available, which removes most of the tension from bidding. Consider capping him at an aggressive but possible bid. - Cautious Carl bid 0 in every round observed, including the 10-card round, and finished with 7 scratches. - Final standings in the test game: Master Marge 5 scratches, Claude 6, Cautious Carl 7, Aggressive Archie 10.
Author
Owner

Shipped in braid-testing/scratch-parallel-190#2, merged into main as 153cff0b66.

The OpenSpec change is archived as 2026-11-11-ux-and-visual-review-21-tasks-from-deskt-c51d6z.

Braid run: http://openspecflow.internal.underthere.xyz/run/run_01M74NQPP7FZJQGQZ00JC51D6Z

Shipped in [braid-testing/scratch-parallel-190#2](https://forgejo.underthere.xyz/braid-testing/scratch-parallel-190/pulls/2), merged into `main` as `153cff0b66`. The OpenSpec change is archived as `2026-11-11-ux-and-visual-review-21-tasks-from-deskt-c51d6z`. Braid run: http://openspecflow.internal.underthere.xyz/run/run_01M74NQPP7FZJQGQZ00JC51D6Z
Sign in to join this conversation.
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
braid-testing/scratch-parallel-190#1
No description provided.