strings for stat options

This commit is contained in:
Sander Land committed 2020-11-25 22:15:08 +01:00
1 parent 32acd7f067
commit 71d19a2c4e
21 files changed
+273 -47

No files matched your search

+1 -3
View File
@@ -476,9 +476,7 @@ class BadukPanWidget(Widget):
if move_dict["visits"] < low_visits_threshold and not engine_best_move:
scale = UNCERTAIN_HINT_SCALE
text_on = False
alpha = HINTS_MIN_ALPHA + (HINTS_ALPHA - HINTS_MIN_ALPHA) * (
move_dict["visits"] / low_visits_threshold
)
alpha = HINTS_LO_ALPHA
if "pv" in move_dict:
self.active_pv_moves.append((move.coords, move_dict["pv"], current_node))
else:
+1 -1
View File
@@ -63,7 +63,7 @@ STARPOINT_SIZE = 0.1
BOARD_COLOR = [0.85, 0.68, 0.40, 1]
STONE_SIZE = 0.505 # texture edge is transparent
HINTS_MIN_ALPHA = 0.2 # single visit
HINTS_LO_ALPHA = 0.6
HINTS_ALPHA = 0.8
POLICY_ALPHA = 0.6
TOP_POLICY_ALPHA = 0.3