I have created a feature-rich, interactive Playing Card Deck Studio complete with satisfying shuffle physics and animations, dynamic dealing simulators, card flip reveals, 3D corner peeking, and interactive fan spread displays.
Features & Highlights:
-
Satisfying Shuffling Studio (ShuffleStudio.tsx):
- Riffle Shuffle: Splits deck into two stacks, angles them upwards, and cascades interlacing cards together with micro-click audio snaps before squaring up the deck.
- Overhand Shuffle: Rhythmical packet drops slipping cards from top to bottom.
- Deck Cut: Smooth top/bottom half layer swap with depth shadow effects.
- Table Wash (Smooshing): Scatters all 52 cards across the felt in random circular orbits with swishing audio before gathering them back.
- Spring Parabolic Cascade: High arching card stream flowing downward into the receiving hand.
- Casino Combo Sequence: Runs sequential riffles and cuts automatically.
- Speed Multipliers: Adjustable 1x, 2x, and 3x animation speed.
-
Interactive Fan & Ribbon Spread Display (FanSpreadViewer.tsx):
- Multiple Layout Modes: Radial Arc Fan, Horizontal Table Ribbon Spread, 360° Circular Wheel Spread, and Vertical Cascade Column.
- Live Customization Sliders: Adjust cards count (5 to 52), Fan Arc Spread Angle (40° to 280°), and Fan Radius Depth.
- Interactive Mechanics: Hovering elevates individual cards, click to pull cards out into the spotlight for up-close inspection, flip faces, and sort by suit or rank.
-
Card Dealing Simulator (DealingTable.tsx):
- Texas Hold'em Poker Table: Deal hole cards to 4 players, deal community board (Flop, Turn, River), and run real-time hand rank evaluation with showdown winner confetti!
- Blackjack Table: Realistic dealer shoe, Hit, Stand, soft 17 dealer logic, Ace calculations, and win/bust indicators.
- Solitaire Klondike Layout: Sequential dealing onto 7 tableau columns with top cards auto-flipped.
-
3D Card Inspector & Back Style Customizer (CardShowcase.tsx):
- Interactive 3D Gyro Tilt: Dynamic specular sheen gradient overlay responding to mouse coordinates.
- Secret Corner Peeking: Drag top-left corner on card backs to physically peel back the card edge and peek at the rank/suit.
- Card Back Themes: Switch between Classic Bicycle Red, Sapphire Blue, Imperial Gold Foil, Cyberpunk Neon, Dragon Emerald Velvet, and Onyx Noir.
- Audio Synthesizer Soundboard: Test individual synthesized card flips, riffle ticks, swishes, and table thuds.
-
Mini-Games & Magic (CardGamesStudio.tsx):
- Mind Reader Magic Trick: Select a secret card from the fan, insert it back into the deck, run multi-stage shuffles, and let the computer scan residual psychic frequencies to reveal your card!
- High Card War: Fast-paced draw challenge against the dealer with win/loss counters.
- 5-Card Poker Practice Trainer: Draw random hands and rate poker combinations.
-
Web Audio API Synthesizer & Felt Surfaces:
- Built-in sound synthesis Engine (
audio.ts) providing crisp paper flips, friction slides, and deck thuds with zero latency.
- Customizable Felt Table Surfaces (Casino Green, Burgundy Velvet, Midnight Blue, Onyx Black, and Cyberpunk).
Files built: index.html, src/utils/audio.ts, src/types/card.ts, src/utils/deck.ts, src/components/PlayingCard.tsx, src/components/ShuffleStudio.tsx, src/components/FanSpreadViewer.tsx, src/components/DealingTable.tsx, src/components/CardShowcase.tsx, src/components/CardGamesStudio.tsx, src/components/Navbar.tsx, src/App.tsx