From 2b98382b5ac65f613b96621f744d2d462f28ac51 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Sat, 27 Sep 2025 16:27:28 -0500 Subject: [PATCH] feat: replace Champion Arena with Enter Arcade button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Transform games page by: - Removing embedded Champion Arena component - Adding large animated "ENTER ARCADE" button that navigates to /arcade - Maintaining existing GameSelector for non-arcade game access 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- apps/web/src/app/games/page.tsx | 1055 +++---------------------------- 1 file changed, 101 insertions(+), 954 deletions(-) diff --git a/apps/web/src/app/games/page.tsx b/apps/web/src/app/games/page.tsx index f726d2b5..1fd6bec0 100644 --- a/apps/web/src/app/games/page.tsx +++ b/apps/web/src/app/games/page.tsx @@ -6,7 +6,6 @@ import { css } from '../../../styled-system/css' import { grid } from '../../../styled-system/patterns' import { useUserProfile } from '../../contexts/UserProfileContext' import { useGameMode } from '../../contexts/GameModeContext' -import { ChampionArena } from '../../components/ChampionArena' export default function GamesPage() { const { profile } = useUserProfile() @@ -173,11 +172,109 @@ export default function GamesPage() { - {/* Champion Arena - Drag & Drop Interface */} + {/* Enter Arcade Button */}
- {}} /> +
+ {/* Gradient background */} +
+ +
+

+ 🏟️ Ready for the Arena? +

+ +

+ Select your champions, choose your battles, and dive into full-screen arcade action! +

+ + + +

+ Full-screen experience with immersive gameplay +

+
+
{/* Character Showcase Header */} @@ -881,957 +978,7 @@ export default function GamesPage() {
- {/* Games Grid */} -
- {/* Speed Memory Quiz */} -
handleGameClick('memory-lightning')} className={css({ - display: 'block', - textDecoration: 'none', - transition: 'all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)', - _hover: { - transform: 'translateY(-8px) scale(1.02)', - '& .card-stack': { - transform: 'rotateY(5deg)' - }, - '& .timer-pulse': { - animationDuration: '0.8s' - }, - '& .speech-bubble': { - opacity: 1, - transform: 'translateY(0) scale(1)' - } - } - })}> -
- {/* Character Recommendation Speech Bubble */} -
-
- {profile.player1Emoji} - "Memory Lightning is my jam! ⚡" -
-
- - {/* Subtle top accent */} -
- - {/* Game representation: Flash card effect */} -
- {/* Back card (slightly offset) */} -
- - {/* Front card with abacus */} -
- 🧮 -
- - {/* Timer indicator */} -
-
- -

- Memory Lightning ⚡ -

- -

- Blink and you'll miss it! Cards flash faster than lightning - can you capture the patterns in your mind before they vanish? Perfect for building superhuman visual memory. -

- -
- - 🧠 Memory Training - - - ⭐ Beginner Friendly - -
-
-
- - {/* Matching Pairs Game */} -
handleGameClick('battle-arena')} className={css({ - display: 'block', - textDecoration: 'none', - transition: 'all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275)', - _hover: { - transform: 'translateY(-8px) scale(1.02)', - '& .memory-grid': { - '& .flipped-card': { - transform: 'rotateY(180deg) scale(1.1)' - }, - '& .matched-card': { - animation: 'glow 0.8s ease-in-out' - } - }, - '& .new-badge': { - animation: 'bounce 0.6s ease-in-out' - }, - '& .speech-bubble': { - opacity: 1, - transform: 'translateY(0) scale(1)' - } - } - })}> -
- {/* Character Recommendation Speech Bubble */} -
-
- {profile.player2Emoji} - "Memory Pairs - let's crush some competition! 🧠" -
-
- - {/* Animated top gradient border */} -
- - {/* Game representation: Memory cards grid */} -
- {/* Grid of memory cards */} -
- {/* Card 1 - face down */} -
- ❓ -
- - {/* Card 2 - matched (abacus) */} -
- 🧮 -
- - {/* Card 3 - face down */} -
- ❓ -
- - {/* Card 4 - matched (number) */} -
- 5 -
- - {/* Card 5 - flipped (number) */} -
- 3 -
- - {/* Card 6 - face down */} -
- ❓ -
-
- - {/* Player emoji indicator */} -
- 😀 -
-
- -

- Memory Pairs 🧠 - - ✨ Hot! - -

- -

- The ultimate memory showdown! Flip cards, claim territory, and show off your epic emoji. Challenge friends in explosive two-player battles where every match counts! -

- -
- - 🧠 Memory & Logic - - - 👥 Two Players - - - 🎆 Epic Animations - -
-
-
- - {/* Speed Complement Race */} -
- {/* Character Anticipation Speech Bubble */} -
-
- {profile.player1Emoji} - "I can't wait for this speed challenge! 🔥" -
-
- - {/* Coming Soon Indicator */} -
- 🚀 Coming Soon -
- - {/* Game representation: Timer and pairs */} -
- {/* Timer circle */} -
- ⏱️ -
- - {/* Complement pairs floating around */} -
- 5 -
- -
- 5 -
-
- -

- Number Hunter 🎯 -

- -

- The clock is ticking! Hunt down complement pairs faster than ever. Can you beat the timer and become the ultimate number ninja? -

- -
- - 🔥 Speed Challenge - - - 🎯 Advanced - -
-
- - {/* Card Sorting Challenge */} -
- {/* Character Development Speech Bubble */} -
-
- {profile.player2Emoji} - "Organizing chaos is my superpower! 🎴" -
-
- - {/* Coming Soon Indicator */} -
- 🛠️ In Development -
- - {/* Game representation: Sortable cards */} -
- {/* Stack of cards to sort */} -
- {/* Card 1 - higher value (out of order) */} -
- 8 -
- - {/* Card 2 - lower value (out of order) */} -
- 3 -
- - {/* Card 3 - middle value (out of order) */} -
- 5 -
-
- - {/* Drag indicator */} -
- ↕️ -
-
- -

- Master Organizer 🎴 -

- -

- Chaos to order! Drag and sort scattered number cards into perfect harmony. Can you organize the mathematical mayhem? -

- -
- - 🧩 Sorting & Logic - - - 📈 Intermediate - -
-
-
{/* Call to Action */}