Add [RULES] diagnostic logging + remove [DELTA] console noise

- MatchmakerService: log whether ranked ruleset was found and its
  StartingRandomTilePct after DB query
- GameReadyHandler: log RuleSnapshotJson snippet and deserialized
  StartingRandomTilePct/BoardWidth/BoardHeight when both players ready
- GameHandlerBase: remove [DELTA] Console.WriteLines added for delta
  diffing debug (issue resolved)

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-22 13:36:34 -04:00
co-authored by Claude Happy
parent fe62df5d56
commit 5989eba49b
3 changed files with 21 additions and 20 deletions
@@ -110,6 +110,11 @@ internal sealed class MatchmakerService : BackgroundService
.Where(r => r.IsRankedDefault)
.FirstOrDefaultAsync(ct);
_logger.LogInformation(
"[RULES] Ranked rules loaded: found={Found} StartingRandomTilePct={Pct}",
rankedRules is not null,
rankedRules?.StartingRandomTilePct);
// Create a game session.
var session = new GameSession
{