Files
card-game-engine/RuleEngine
xiaoou 181696f93a fix: 听牌检测wc重复计数→部分可胡牌丢失
根因: GetTingTiles传了hand+fullHand+wc=CountWildcards(hand)
  → CheckWin内部又计wildcardsInTiles→双重计数→total%3≠2→guard拒绝

修复: wc固定为0(configured wildcards已在tiles中被CheckWin统计)
  wildcardCount参数仅用于encoding 50+的额外wildcard tiles

效果: 听牌检测不再遗漏可胡牌,显示完整的可胡张数
2026-07-05 01:18:30 +08:00
..