Play liveChoose your opponent
Join
What shoal-games changes in this game
Branched from main at 1b3bc26 by @shoal shoal · 1 commit ahead, 0 behind main
Continue
Contribute back
7 lines · 469 Bytes Raw Permalink History
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);