Conseil du maître : analyse des décisions, phrases du maître, conseil rattaché au journal

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-10 04:36:57 +01:00
co-authored by Claude Opus 5.5
parent 16fc836cb9
commit 1330ee6df4
13 changed files with 1232 additions and 23 deletions
+8
View File
@@ -195,6 +195,14 @@ export function createWasmEngine(run: RunCommand): Engine {
};
},
async rankMoves(position: PositionId, cube: EngineCube, roll: Roll, ply: Ply) {
const args = ["--ply", String(ply), "moves", position, await matchId(cube)];
const answer = (await run([...args, diceText(roll)])) as {
moves: CliEvaluatedMove[];
};
return answer.moves.map(toEvaluatedMove);
},
async analyseCube(
position: PositionId,
cube: EngineCube,