fix: clean up component interfaces and settings
- Remove unused onConfigurePlayer prop from ChampionArena interface - Update GameSelector component interactions - Update Claude settings for development workflow 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
337aa5609a
commit
ce6c2a1116
|
|
@ -127,7 +127,11 @@
|
|||
"Bash(gh run view:*)",
|
||||
"Bash(nslookup:*)",
|
||||
"Bash(docker stop:*)",
|
||||
"Bash(open http://localhost:3000/games)"
|
||||
"Bash(open http://localhost:3000/games)",
|
||||
"Bash(open http://localhost:3004/games)",
|
||||
"Bash(npx tsc:*)",
|
||||
"Bash(git rm:*)",
|
||||
"Bash(git check-ignore:*)"
|
||||
],
|
||||
"deny": [],
|
||||
"ask": []
|
||||
|
|
|
|||
|
|
@ -616,33 +616,6 @@ export function ChampionArena({ onGameModeChange, onConfigurePlayer, className }
|
|||
)}
|
||||
</div>
|
||||
|
||||
{/* Arena Info */}
|
||||
{arenaPlayers.length > 0 && (
|
||||
<div className={css({
|
||||
mt: '4',
|
||||
textAlign: 'center',
|
||||
background: 'white',
|
||||
rounded: 'xl',
|
||||
p: '4',
|
||||
border: '1px solid',
|
||||
borderColor: 'gray.200'
|
||||
})}>
|
||||
<div className={css({
|
||||
fontSize: 'sm',
|
||||
fontWeight: 'semibold',
|
||||
color: 'gray.700'
|
||||
})}>
|
||||
🎮 {arenaPlayers.length} champion{arenaPlayers.length > 1 ? 's' : ''} ready to battle!
|
||||
</div>
|
||||
<div className={css({
|
||||
fontSize: 'xs',
|
||||
color: 'gray.500',
|
||||
mt: '1'
|
||||
})}>
|
||||
Click a champion to remove from arena
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -7,18 +7,62 @@ import { GameCard } from './GameCard'
|
|||
// Game configuration defining player limits
|
||||
export const GAMES_CONFIG = {
|
||||
'memory-lightning': {
|
||||
name: 'Speed Memory Quiz',
|
||||
name: 'Memory Lightning',
|
||||
fullName: 'Memory Lightning ⚡',
|
||||
maxPlayers: 1,
|
||||
description: 'Solo memory challenge',
|
||||
description: 'Test your memory speed with rapid-fire abacus calculations',
|
||||
longDescription: 'Challenge yourself with lightning-fast memory tests. Perfect your mental math skills with this intense solo experience.',
|
||||
url: '/games/memory-quiz',
|
||||
icon: '⚡'
|
||||
icon: '⚡',
|
||||
chips: ['⭐ Beginner Friendly', '🔥 Speed Challenge', '🧮 Abacus Focus'],
|
||||
color: 'green',
|
||||
gradient: 'linear-gradient(135deg, #dcfce7, #bbf7d0)',
|
||||
borderColor: 'green.200',
|
||||
difficulty: 'Beginner'
|
||||
},
|
||||
'battle-arena': {
|
||||
name: 'Matching Pairs Battle',
|
||||
fullName: 'Matching Pairs Battle ⚔️',
|
||||
maxPlayers: 4,
|
||||
description: 'Multiplayer memory battle',
|
||||
description: 'Multiplayer memory battle with friends',
|
||||
longDescription: 'Battle friends in epic memory challenges. Match pairs faster than your opponents in this exciting multiplayer experience.',
|
||||
url: '/games/matching',
|
||||
icon: '⚔️'
|
||||
icon: '⚔️',
|
||||
chips: ['👥 Multiplayer', '🎯 Strategic', '🏆 Competitive'],
|
||||
color: 'purple',
|
||||
gradient: 'linear-gradient(135deg, #e9d5ff, #ddd6fe)',
|
||||
borderColor: 'purple.200',
|
||||
difficulty: 'Intermediate'
|
||||
},
|
||||
'number-hunter': {
|
||||
name: 'Number Hunter',
|
||||
fullName: 'Number Hunter 🎯',
|
||||
maxPlayers: 2,
|
||||
description: 'Hunt down complement pairs in a race against time',
|
||||
longDescription: 'The clock is ticking! Hunt down complement pairs faster than ever. Can you beat the timer and become the ultimate number ninja?',
|
||||
url: '/games/number-hunter',
|
||||
icon: '🎯',
|
||||
chips: ['🚀 Coming Soon', '🔥 Speed Challenge', '⏱️ Time Attack'],
|
||||
color: 'red',
|
||||
gradient: 'linear-gradient(135deg, #fecaca, #fca5a5)',
|
||||
borderColor: 'red.200',
|
||||
difficulty: 'Advanced',
|
||||
available: false
|
||||
},
|
||||
'master-organizer': {
|
||||
name: 'Master Organizer',
|
||||
fullName: 'Master Organizer 🎴',
|
||||
maxPlayers: 3,
|
||||
description: 'Sort scattered cards into perfect harmony',
|
||||
longDescription: 'Chaos to order! Drag and sort scattered number cards into perfect harmony. Can you organize the mathematical mayhem?',
|
||||
url: '/games/master-organizer',
|
||||
icon: '🎴',
|
||||
chips: ['🛠️ In Development', '🧩 Sorting & Logic', '📈 Intermediate'],
|
||||
color: 'indigo',
|
||||
gradient: 'linear-gradient(135deg, #e0e7ff, #c7d2fe)',
|
||||
borderColor: 'indigo.200',
|
||||
difficulty: 'Intermediate',
|
||||
available: false
|
||||
}
|
||||
} as const
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue