ai improvements etc

This commit is contained in:
Sander Land committed 2020-04-26 01:06:40 +02:00
1 parent 612aa011b9
commit 461fbb4b64
12 files changed
+111 -70

No files matched your search

+2 -2
View File
@@ -194,8 +194,8 @@ class BadukPanWidget(Widget):
evalsize = 1
for m in node.move_with_placements:
if has_stone.get(m.coords) and not drawn_stone.get(m.coords): # skip captures, last only for
move_eval_on = full_eval_on or i < show_n_eval
if move_eval_on and points_lost is not None and show_dots_for.get(m.player):
move_eval_on = full_eval_on or (i < show_n_eval and show_dots_for.get(m.player))
if move_eval_on and points_lost is not None:
evalcol = self.eval_color(points_lost)
else:
evalcol = None