
joywayerandClaude Opus 5
8948a2950f
二七王:chupai1 下发甩牌分量构成 shuai
cardtype 只能表达单一牌型(1xx 单张 / 2xx 对子 / 3xx 拖拉机),而
甩牌是单张、对子、拖拉机自由混搭(design §5.4.3),会被 can_playcard
的牌型推导压平——例如「主K对 + 主5」得到 103、「两连对 + 散对」得到
203,客户端拿到 cardtype 无从还原分组,甚至看不出这是一次甩牌。
服务端本就已经算出了分量需求 shuai_demand(供跟牌逐分量强制匹配,
design §5.4.4),按「每个下发包必须携带前端界面所需的全部核心数据」
一并下发:chupai1 在合法甩牌时带 shuai = {tractors,pairs,singles},
非甩牌与甩错退化为单张时不带此属性。
test_rpc 新增 8 项:合法甩牌带 shuai、非甩牌不带、甩错只打最小一张
且不带 shuai。
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-12 04:21:11 +08:00
..
2026-07-05 16:39:04 +08:00
2026-08-12 04:21:11 +08:00
2026-08-12 04:17:32 +08:00
2026-07-04 23:51:12 +08:00
2026-08-12 04:15:31 +08:00
2026-08-12 04:18:30 +08:00
2026-07-04 23:51:12 +08:00
2026-07-04 23:51:12 +08:00
2026-08-12 04:21:11 +08:00
2026-08-12 04:21:11 +08:00