feat(golf): UX overhaul for casual phone play#192
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
muchq | 2395cf5 | Commit Preview URL Branch Preview URL |
Mar 09 2026, 03:52 AM |
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove drawnFrom state tracking and Draw/Take buttons — piles are now directly tappable. Add a floating held card with bobbing animation and a turn indicator replacing the old peek hint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove orphaned CSS classes (.selected, .actionButtonDisabled, .inputGroup, .gamePermalinkSection, .cumulativeTitle) and fix set-state-in-effect lint error in GolfGame.tsx. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
c340c7b to
2395cf5
Compare
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Modernizes the golf card game UI for casual friends playing on phones. Replaces flat white card rectangles with styled card faces (crosshatch backs, corner pips), simplifies the turn flow from 3 taps to 2 via direct manipulation, and restructures the game-end screen into a two-stage celebration + scores experience.
What Changed
<details>, and subtle text links for secondary actions.Testing Done
tsc --noEmit) — cleanDiagram
stateDiagram-v2 direction LR state "Before (3 taps)" as before { [*] --> TapDrawButton: 1. Tap "Draw Card" TapDrawButton --> TapCard: 2. Tap a card TapCard --> TapSwapButton: 3. Tap "Swap" } state "After (2 taps)" as after { [*] --> TapPile: 1. Tap pile TapPile --> TapCardToSwap: 2. Tap card → swaps }🤖 Generated with Claude Code