Changed forfeit button to always be visible instead of only when player can lose:
- Removed conditional check in LifeCounter (always passes onForfeit)
- Removed conditional rendering in PlayerMenu (button always shows)
- Button remains functional with safety check inside onClick handler
This makes it easier for players to forfeit at any time during the game.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Added two new features for better game control:
1. Show Match Score Setting:
- Added showMatchScore boolean to Settings type (default: true)
- Added toggle in SettingsDialog to control score visibility
- Players.tsx now respects the setting when passing matchScore
- Users can hide score badges in 1v1 games if desired
2. Forfeit Button in Player Menu:
- Added Skull icon import to PlayerMenu
- Added onForfeit optional prop to PlayerMenu
- Added red skull button in player menu buttons section
- LifeCounter passes forfeit handler (toggleGameLost) to menu
- Only shows when player can lose (life ≤ 0 or poison/commander damage)
- Allows players to forfeit game from their individual menu
Both features improve user control over the match scoring system.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Changed score display approach to show score directly on each player's card:
- Removed separate ScoreDisplay overlay component
- Added matchScore prop to LifeCounter component
- Created MatchScoreBadge: circular badge in corner of each player card
- Score only displays for 2-player games when score > 0
- Badge positioned in safe corner (adapts to rotation)
- Styled as 12vmin circle with 6vmin text, black/70 background
Score is now part of each player's area rather than a separate overlay.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>