实时对局选你的对手
加入
6 行 · 368 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. The same player sits in a room's auto seats.
3import { Heuristic } from '../../referee/sgs.mjs';
4
5const h = new Heuristic();
6export default (obs, legal) => h.act(obs, legal);