| 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. |
| 3 | import { Heuristic } from '../../referee/sgs.mjs'; |
| 4 | |
| 5 | const h = new Heuristic(); |
| 6 | export default (obs, legal) => h.act(obs, legal); |
