实时对局选你的对手
加入
What shoal-games changes in this game
由 @shoal shoal 从 main 的 1b3bc26 分出 · 领先 1 个提交,比 main 落后 0 个
接续
贡献回去
7 行 · 469 Bytes 原始文件 永久链接 历史
1// The upstream's own AI: wmzy/sanguosha's heuristic scorer (src/ai-mcp/heuristics.ts, what its MCP server returns as
2// recommendedAction), with the targets and cards it leaves open filled in. Retained as the version-2 comparison bot;
3// the room's auto seats and recommended fixed-computer choice now use field/strategic.
4import { UpstreamHeuristic } from '../../referee/sgs.mjs';
5
6const h = new UpstreamHeuristic();
7export default (obs, legal) => h.act(obs, legal);