Expose all custom lobby rules in ranked play

MatchmakerService now snapshots all 18 game-play fields from the ranked
ruleset (previously only snapshotted 6). Admin panel at /game/ranked-rules
gains 6 new cards for the previously hidden fields:

- Board Size (width × height)
- Hand Size (cap + discard-on-max behaviour)
- Deck Rules (min/max deck size, max Tier-1 Arch copies)
- Timers & Limits (turn timer, game time limit, turn limit)
- Unit Buffs (MP buff per turn)
- Tile Randomisation (starting random tile %)

No DB migration needed — GameRuleSet already stores all fields.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-03-21 12:44:21 -04:00
co-authored by Claude Happy
parent b1a51cb862
commit 663b92a56b
2 changed files with 138 additions and 0 deletions
@@ -128,6 +128,18 @@ internal sealed class MatchmakerService : BackgroundService
rankedRules.DrawPerTurn,
rankedRules.SpHasCap,
rankedRules.SpCap,
rankedRules.BoardWidth,
rankedRules.BoardHeight,
rankedRules.HandSizeCap,
rankedRules.DiscardOnMaxHand,
rankedRules.MaxDeckSize,
rankedRules.MinDeckSize,
rankedRules.MaxArchTier1,
rankedRules.TurnTimerSeconds,
rankedRules.TimeLimitMinutes,
rankedRules.TurnLimit,
rankedRules.MpBuff,
rankedRules.StartingRandomTilePct,
rankedRules.WinnerOpReward,
rankedRules.LoserOpReward,
rankedRules.RankDiffOpMultiplierPct,