Moteur : chances de gagner le match (table de gnubg), export SGF d'un match entier

Commande mwc d'engine-cli et engine_match_chances_of : chances au score
(getMEAtScore) et conversion d'une équité (eq2mwc), comparées à gnubg de
bureau. Export d'un match entier en SGF, relu par gnubg (load match).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pierre MARTIN
2026-11-12 23:55:51 +01:00
co-authored by Claude Opus 5.5
parent ee661661fd
commit f9b8663afb
21 changed files with 596 additions and 8 deletions
+56
View File
@@ -279,5 +279,61 @@
"match_id": "cAkAAAAAAAAA",
"dice": null
}
],
"chances": [
{
"id": "chances-5-0-0",
"description": "Match en 5 points à 0-0 : table d'avant Crawford.",
"match_id": "MAGgAAAAAAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-5-0-2",
"description": "Match en 5 points, joueur au trait mené 0-2.",
"match_id": "MAGgAAAAEAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-5-2-4-cube-2",
"description": "Match en 5 points, 2-4, videau à 2 chez l'adversaire.",
"match_id": "EQGgACAAIAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-5-4-3-crawford",
"description": "Match en 5 points, 4-3, partie Crawford.",
"match_id": "sAGgAEAAGAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-5-4-3-post-crawford",
"description": "Match en 5 points, 4-3, après la partie Crawford.",
"match_id": "MAGgAEAAGAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-5-3-4-post-crawford",
"description": "Match en 5 points, 3-4, après la partie Crawford, joueur au trait mené.",
"match_id": "MAGgADAAIAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-7-1-3-cube-4",
"description": "Match en 7 points, 1-3, videau à 4 chez le joueur au trait.",
"match_id": "AgHgABAAGAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-7-other-on-roll",
"description": "Match en 7 points, l'autre joueur au trait (Match ID de match-7-cube).",
"match_id": "cAngAFAAGAAE",
"equities": [-0.25, -0.03, 0.4]
},
{
"id": "chances-5-post-crawford-other-on-roll",
"description": "Match en 5 points après Crawford, l'autre joueur au trait (Match ID de match-post-crawford-cube).",
"match_id": "cAmgAEAAEAAE",
"equities": [-0.25, -0.03, 0.4]
}
]
}