strat-gameplay-webapp/frontend-sba/components
Cal Corum f77666db87 CLAUDE: Add XCheckWizard component and result constants (step 6)
New files:
- constants/xCheckResults.ts - Labels, helpers for all result codes
- components/Gameplay/XCheckWizard.vue - Interactive x-check UI

XCheckWizard features:
 Displays d20 and 3d6 dice results prominently
 Shows 5-column chart row (Range 1-5) as selectable buttons
 Hash result sub-choices (G2#/G3# → pick G2 or SI2)
 SPD result sub-choice (click to reveal d20, pick safe/out)
 Error selection (NO/E1/E2/E3/RP) based on 3d6
 Submit validation (both result + error required)
 Read-only mode for transparency (opponent sees same UI)
 Mobile-responsive layout (stacks on small screens)
 Tailwind styling with clear visual hierarchy

Helper functions:
- getResultLabel() - Display names for all codes
- getErrorLabel() - Display names for error types
- isHashResult() - Detect G2#/G3#
- isSpdResult() - Detect SPD
- getHashConversions() - Get conversion options

Next: Integrate XCheckWizard into GameplayPanel

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-07 17:36:23 -06:00
..
Decisions CLAUDE: Mobile drag-drop lineup builder and touch-friendly UI improvements 2026-01-17 22:17:16 -06:00
Game CLAUDE: Flip mobile layout - batter on top, pitcher below 2026-02-06 22:57:39 -06:00
Gameplay CLAUDE: Add XCheckWizard component and result constants (step 6) 2026-02-07 17:36:23 -06:00
Lineup CLAUDE: RosterLink refactor for bench players with cached player data 2026-01-17 22:15:12 -06:00
Player CLAUDE: Redesign dice display with team colors and consolidate player cards 2026-01-24 00:16:32 -06:00
Schedule CLAUDE: Mobile drag-drop lineup builder and touch-friendly UI improvements 2026-01-17 22:17:16 -06:00
Substitutions CLAUDE: Mobile drag-drop lineup builder and touch-friendly UI improvements 2026-01-17 22:17:16 -06:00
UI CLAUDE: Complete in-game UI overhaul with player cards and outcome wizard 2026-01-23 15:23:38 -06:00
CLAUDE.md CLAUDE: Fix critical game engine issues and refactor CLAUDE.md docs 2025-11-19 16:05:26 -06:00