From a5b9951c1618bd6883cb17952e355395bd6fb73b Mon Sep 17 00:00:00 2001 From: Sander Land Date: Wed, 9 Sep 2020 10:03:22 +0200 Subject: [PATCH] engine init --- katrain/core/engine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/katrain/core/engine.py b/katrain/core/engine.py index 542753d..63cffe5 100644 --- a/katrain/core/engine.py +++ b/katrain/core/engine.py @@ -274,6 +274,7 @@ class KataGoEngine: "includeOwnership": ownership and not next_move, "includePolicy": not next_move, "initialStones": [[m.player, m.gtp()] for m in initial_stones], + "initialPlayer": analysis_node.root.next_player, "moves": [[m.player, m.gtp()] for m in moves], "overrideSettings": {**settings, **(extra_settings or {})}, }