3169995d7f
Tighten the local byYou/byOpponent accumulators from the wider Record<string, number> to PieceTally, matching the return type's fields and preventing silent invalid-key writes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>