New Features in 1.2.BETA
🎴 Added Yao (Arcade Card Battle Game)
A fast-paced, cutthroat multiplayer card game built for high-stakes arcade competition. Based on classic shedding card game mechanics with high-chaos house rules.
Core Gameplay & House Rules
- Color & Rank Matching: Play matching colors or ranks, or drop Wild cards to change the active color.
- Stacking Draw Penalties:
- Draw Two (+2) cards can be stacked on top of an existing Draw Two or Wild Draw 4 to pass and accumulate penalty cards to the next player.
- Wild Draw 4 (+4) cards can only be countered with another Wild Draw 4, creating explosive hand-size swings.
- ⚡ Jump-In Rule: Any player holding an identical card (same color AND same rank) can play out of turn to immediately cut the line and take over the active turn.
- 🌀 Chaos 0s & 7s:
- 0 Hand Rotation: Playing any
0forces all players to immediately pass their entire hand to the next player in the current direction of play. - 7 Hand Swap: Playing any
7halts play and prompts the active player to choose an opponent to swap entire hands with in real time.
- 0 Hand Rotation: Playing any
- Wild Color Wheel: Quick interactive color selector for Wild and Wild Draw 4 cards.
- Yao Call Enforcement: Players down to their final card must call "Yao!" before ending their turn or risk penalty draws if caught.
Host TV & Mobile Controller Experience
- Big-Screen Host View (
/room/$roomId/host):- Panoramic 3D perspective table showing all player positions, hand counts, active player highlight, draw penalty stacks, and directional turn arrows.
- Interactive swap overlays, celebratory card play animations, and final podium reveals.
- Mobile Controller (
/room/$roomId/play):- Touch-friendly curved card fan layout with smooth haptic-style audio feedback.
- Actionable Draw, Defer, and Jump-In triggers with clear visual affordances for valid plays.
- Dynamic Hand Swap modal highlighting target opponents with current card counts.
🎁 Unlockable Skins & Mystery Chest Reward System
Unlock exclusive profile skins through arcade achievements and tournament victories.
12 New Unlockable Skins Across 4 Tracks
Players can earn unique SVG character skins by hitting victory milestones across games:
| Game Track | Skin Name | Requirement | Category |
|---|---|---|---|
| Watermelon Merge | Lemon | 1 Watermelon Win | watermelon |
| Watermelon Merge | Pineapple | 3 Watermelon Wins | watermelon |
| Watermelon Merge | Watermelon | 10 Watermelon Wins | watermelon |
| Whiplash | Sprout Tree | 1 Whiplash Win | whiplash |
| Whiplash | Branch Tree | 3 Whiplash Wins | whiplash |
| Whiplash | Golden Tree | 10 Whiplash Wins | whiplash |
| Yao | Chipmunk | 1 Yao Win | yao |
| Yao | Bandit | 3 Yao Wins | yao |
| Yao | Chef | 10 Yao Wins | yao |
| Total Wins | Golden Champion | 1 Tournament Win | totalWins |
| Total Wins | Cyber Master | 10 Tournament Wins | totalWins |
| Total Wins | Galaxy Legend | 100 Tournament Wins | totalWins |
📦 Mystery Chest Opening Ceremony
- Post-Game Unboxing (
/room/$roomId/completed):- Players earning new skins after a tournament are greeted with an interactive mystery chest reward stage.
- Features high-resolution animated vector chests (
chest-closed.svgandchest-opened.svg), radial glow particles, and ascension animations. - Multi-reward unboxing sequence: tap to pop open each chest, reveal the unlocked skin with celebratory audio, and advance to the next reward.
🛡️ Lazy Claiming & Verified Persistence
- Anti-Spoiler Architecture:
getGameResultscalculates pending unlocks without immediately writing them to the database (persist: false), preserving the excitement of unboxing. - Server-Side Validation (
claimUnlockedSkin): Skin claims are validated against the user's historicalgameStatsrecords in Neon Postgres before being permanently saved tousers.unlockedSkinIds. - Missed Reward Recovery (
UserProfileCard):- If a player skips the post-game ceremony, uncollected skins appear as interactive mini mystery chests directly inside their profile's 4-column skin grid.
- Clicking any unopened mini chest launches the unboxing reveal and saves the skin to their collection.
🐛 Bug Fixes & Improvements
- Stat Tracking Parity: All competitive game modes (Watermelon Merge, Whiplash, and Yao) now consistently invoke
logGameStatswith player placement ranking on game completion. - Profile Card Grid: Enhanced skin grid supporting base skins, unlockable skins, interactive reward chests, and locked milestone placeholders.
- Audio Preloading: Integrated audio effects for chest unlock fanfare and celebratory card plays.