-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgametreeviz.py
359 lines (352 loc) · 43.1 KB
/
gametreeviz.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
from graphviz import Digraph
def visualize_tree(tree_str):
dot = Digraph(comment='Game Tree', node_attr={'style': 'filled'})
lines = tree_str.strip().split("\n")
parent_stack = []
for line in lines:
indent = line.count(' ')
node_label = line.strip()
node_name = f"{indent}_{node_label}"
dot.node(node_name, label=node_label)
parent_stack = parent_stack[:indent]
if parent_stack:
dot.edge(parent_stack[-1], node_name)
parent_stack.append(node_name)
dot.render('game_tree.gv', view=True)
tree_str = """
board position: Board('3k3q/8/8/8/8/3K4/1b6/8 w - - 56 282'), prob: 0.0, value: -0.022, visit: 1000, value_sum: 1.5
board position: Board('3k3q/8/8/8/8/8/1bK5/8 b - - 57 282'), prob: 0.053, value: -0.033, visit: 12, value_sum: 0.15
board position: Board('3k3q/8/8/8/8/8/2K5/2b5 w - - 58 283'), prob: 0.075, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('3k3q/8/8/8/3b4/8/2K5/8 w - - 58 283'), prob: 0.079, value: -0.046, visit: 1, value_sum: -0.046
board position: Board('3k3q/8/8/4b3/8/8/2K5/8 w - - 58 283'), prob: 0.12, value: -0.021, visit: 2, value_sum: 0.00078
board position: Board('3k3q/8/8/4b3/8/8/8/1K6 b - - 59 283'), prob: 0.89, value: -0.021, visit: 1, value_sum: -0.021
board position: Board('7q/2k5/8/8/8/8/1bK5/8 w - - 58 283'), prob: 0.12, value: -0.041, visit: 2, value_sum: 0.0031
board position: Board('7q/2k5/8/8/8/8/1b6/1K6 b - - 59 283'), prob: 0.71, value: -0.044, visit: 1, value_sum: -0.044
board position: Board('7q/4k3/8/8/8/8/1bK5/8 w - - 58 283'), prob: 0.087, value: -0.035, visit: 1, value_sum: -0.035
board position: Board('2k4q/8/8/8/8/8/1bK5/8 w - - 58 283'), prob: 0.13, value: -0.033, visit: 3, value_sum: -0.044
board position: Board('2k4q/8/8/8/8/8/1b6/1K6 b - - 59 283'), prob: 0.79, value: -0.037, visit: 2, value_sum: 0.011
board position: Board('7q/3k4/8/8/8/8/1b6/1K6 w - - 60 284'), prob: 0.19, value: -0.048, visit: 1, value_sum: -0.048
board position: Board('4k2q/8/8/8/8/8/1bK5/8 w - - 58 283'), prob: 0.092, value: -0.042, visit: 1, value_sum: -0.042
board position: Board('3k3q/8/8/8/8/8/1b1K4/8 b - - 57 282'), prob: 0.17, value: -0.021, visit: 115, value_sum: -0.11
board position: Board('7q/2k5/8/8/8/8/1b1K4/8 w - - 58 283'), prob: 0.34, value: -0.032, visit: 69, value_sum: 0.054
board position: Board('7q/2k5/8/8/8/8/1b6/3K4 b - - 59 283'), prob: 0.11, value: -0.026, visit: 4, value_sum: -0.031
board position: Board('7q/2k5/8/8/8/8/8/2bK4 w - - 60 284'), prob: 0.19, value: -0.011, visit: 2, value_sum: 0.02
board position: Board('2k4q/8/8/8/8/8/1b6/3K4 w - - 60 284'), prob: 0.17, value: -0.015, visit: 1, value_sum: -0.015
board position: Board('7q/2k5/8/8/8/8/1b6/4K3 b - - 59 283'), prob: 0.23, value: -0.028, visit: 17, value_sum: 0.019
board position: Board('7q/8/1k6/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.091, value: -0.023, visit: 1, value_sum: -0.023
board position: Board('7q/8/3k4/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.089, value: -0.015, visit: 1, value_sum: -0.015
board position: Board('7q/1k6/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.16, value: -0.014, visit: 3, value_sum: -0.0055
board position: Board('1k5q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.12, value: -0.011, visit: 2, value_sum: 0.0043
board position: Board('2k4q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.19, value: -0.017, visit: 5, value_sum: -0.018
board position: Board('3k3q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.17, value: -0.017, visit: 4, value_sum: 0.011
board position: Board('7q/2k5/8/8/8/8/1b2K3/8 b - - 59 283'), prob: 0.062, value: -0.04, visit: 1, value_sum: -0.04
board position: Board('7q/2k5/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.28, value: -0.034, visit: 25, value_sum: -0.013
board position: Board('7q/2k5/8/8/8/3K4/8/2b5 w - - 60 284'), prob: 0.082, value: -0.019, visit: 1, value_sum: -0.019
board position: Board('7q/1k6/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.18, value: -0.018, visit: 5, value_sum: -0.081
board position: Board('2k4q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.29, value: -0.024, visit: 17, value_sum: 0.1
board position: Board('3k3q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.074, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('7q/2k5/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.26, value: -0.012, visit: 21, value_sum: -0.022
board position: Board('7q/8/1k6/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.087, value: -0.011, visit: 1, value_sum: -0.011
board position: Board('7q/8/3k4/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.086, value: 0.00067, visit: 1, value_sum: 0.00067
board position: Board('7q/1k6/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.28, value: 0.0015, visit: 12, value_sum: -0.011
board position: Board('2k4q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.19, value: -0.0048, visit: 5, value_sum: 0.032
board position: Board('3k3q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.1, value: -0.0011, visit: 1, value_sum: -0.0011
board position: Board('7q/3k4/8/8/8/8/1b1K4/8 w - - 58 283'), prob: 0.068, value: -0.029, visit: 2, value_sum: -0.015
board position: Board('7q/3k4/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.23, value: -0.014, visit: 1, value_sum: -0.014
board position: Board('7q/4k3/8/8/8/8/1b1K4/8 w - - 58 283'), prob: 0.11, value: -0.022, visit: 7, value_sum: -0.043
board position: Board('7q/4k3/8/8/8/8/1b6/4K3 b - - 59 283'), prob: 0.3, value: -0.016, visit: 3, value_sum: 0.033
board position: Board('4k2q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.15, value: -0.026, visit: 1, value_sum: -0.026
board position: Board('5k1q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.18, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('7q/4k3/8/8/8/8/1b2K3/8 b - - 59 283'), prob: 0.29, value: -0.031, visit: 2, value_sum: -0.0058
board position: Board('7q/4k3/8/8/8/8/4K3/2b5 w - - 60 284'), prob: 0.19, value: -0.025, visit: 1, value_sum: -0.025
board position: Board('7q/4k3/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.2, value: -0.0058, visit: 1, value_sum: -0.0058
board position: Board('2k4q/8/8/8/8/8/1b1K4/8 w - - 58 283'), prob: 0.14, value: -0.021, visit: 11, value_sum: 0.041
board position: Board('2k4q/8/8/8/8/8/1b6/4K3 b - - 59 283'), prob: 0.44, value: -0.017, visit: 7, value_sum: -0.043
board position: Board('7q/1k6/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.2, value: -0.014, visit: 1, value_sum: -0.014
board position: Board('7q/3k4/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.48, value: -0.026, visit: 5, value_sum: 0.039
board position: Board('2k4q/8/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.27, value: -0.0048, visit: 3, value_sum: -0.019
board position: Board('7q/3k4/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.52, value: -0.014, visit: 2, value_sum: 0.015
board position: Board('4k2q/8/8/8/8/8/1b1K4/8 w - - 58 283'), prob: 0.2, value: -0.03, visit: 25, value_sum: 0.048
board position: Board('4k2q/8/8/8/8/8/1b6/3K4 b - - 59 283'), prob: 0.1, value: -0.03, visit: 1, value_sum: -0.03
board position: Board('4k2q/8/8/8/8/8/1b6/4K3 b - - 59 283'), prob: 0.3, value: -0.026, visit: 11, value_sum: 0.027
board position: Board('3k3q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.2, value: -0.017, visit: 2, value_sum: 0.0089
board position: Board('5k1q/8/8/8/8/8/1b6/4K3 w - - 60 284'), prob: 0.35, value: -0.022, visit: 8, value_sum: -0.062
board position: Board('4k2q/8/8/8/8/8/1b2K3/8 b - - 59 283'), prob: 0.19, value: -0.041, visit: 4, value_sum: 0.0046
board position: Board('5k1q/8/8/8/8/8/1b2K3/8 w - - 60 284'), prob: 0.47, value: -0.037, visit: 3, value_sum: -0.045
board position: Board('4k2q/8/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.11, value: -0.031, visit: 1, value_sum: -0.031
board position: Board('4k2q/8/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.25, value: -0.012, visit: 7, value_sum: -0.048
board position: Board('3k3q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.19, value: -0.0011, visit: 1, value_sum: -0.0011
board position: Board('5k1q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.41, value: -0.0077, visit: 5, value_sum: 0.038
board position: Board('3k3q/8/8/8/8/8/1b2K3/8 b - - 57 282'), prob: 0.083, value: -0.029, visit: 29, value_sum: 0.17
board position: Board('3k3q/8/8/8/8/8/4K3/b7 w - - 58 283'), prob: 0.087, value: -0.013, visit: 3, value_sum: -0.027
board position: Board('3k3q/8/8/8/8/8/8/b4K2 b - - 59 283'), prob: 0.33, value: 0.0066, visit: 2, value_sum: 0.014
board position: Board('3k3q/8/8/8/8/8/1b6/5K2 w - - 60 284'), prob: 0.21, value: -0.0072, visit: 1, value_sum: -0.0072
board position: Board('3k3q/8/8/8/8/8/4K3/2b5 w - - 58 283'), prob: 0.16, value: -0.022, visit: 11, value_sum: -0.036
board position: Board('3k3q/8/8/8/8/8/8/2bK4 b - - 59 283'), prob: 0.17, value: -0.0054, visit: 1, value_sum: -0.0054
board position: Board('3k3q/8/8/8/8/8/8/2b2K2 b - - 59 283'), prob: 0.49, value: -0.00077, visit: 9, value_sum: 0.02
board position: Board('3k3q/8/8/8/8/b7/8/5K2 w - - 60 284'), prob: 0.34, value: 0.0072, visit: 7, value_sum: -0.0018
board position: Board('4k2q/8/8/8/8/8/8/2b2K2 w - - 60 284'), prob: 0.17, value: -0.019, visit: 1, value_sum: -0.019
board position: Board('3k3q/8/8/8/8/b7/4K3/8 w - - 58 283'), prob: 0.082, value: -0.011, visit: 2, value_sum: -0.019
board position: Board('3k3q/8/8/8/8/b7/8/5K2 b - - 59 283'), prob: 0.5, value: 0.0072, visit: 1, value_sum: 0.0072
board position: Board('3k3q/8/8/8/8/2b5/4K3/8 w - - 58 283'), prob: 0.098, value: -0.052, visit: 3, value_sum: -0.038
board position: Board('3k3q/8/8/8/8/2b5/8/5K2 b - - 59 283'), prob: 0.61, value: -0.032, visit: 2, value_sum: -0.014
board position: Board('3k3q/8/8/8/3b4/8/8/5K2 w - - 60 284'), prob: 0.26, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('3k3q/8/8/8/3b4/8/4K3/8 w - - 58 283'), prob: 0.091, value: -0.017, visit: 3, value_sum: 0.033
board position: Board('3k3q/8/8/8/3b4/8/8/5K2 b - - 59 283'), prob: 0.41, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('3k3q/8/8/8/3b4/8/3K4/8 b - - 59 283'), prob: 0.36, value: -0.031, visit: 1, value_sum: -0.031
board position: Board('3k3q/8/8/4b3/8/8/4K3/8 w - - 58 283'), prob: 0.07, value: -0.016, visit: 2, value_sum: -0.017
board position: Board('3k3q/8/8/4b3/8/8/8/5K2 b - - 59 283'), prob: 0.31, value: 0.0011, visit: 1, value_sum: 0.0011
board position: Board('7q/4k3/8/8/8/8/1b2K3/8 w - - 58 283'), prob: 0.049, value: -0.031, visit: 1, value_sum: -0.031
board position: Board('2k4q/8/8/8/8/8/1b2K3/8 w - - 58 283'), prob: 0.073, value: -0.033, visit: 1, value_sum: -0.033
board position: Board('4k2q/8/8/8/8/8/1b2K3/8 w - - 58 283'), prob: 0.059, value: -0.041, visit: 1, value_sum: -0.041
board position: Board('3k4/8/8/4q3/8/8/1b2K3/8 w - - 58 283'), prob: 0.048, value: 0.013, visit: 1, value_sum: 0.013
board position: Board('3k3q/8/8/8/8/4K3/1b6/8 b - - 57 282'), prob: 0.072, value: -0.0011, visit: 21, value_sum: -0.096
board position: Board('3k3q/8/8/8/8/4K3/8/2b5 w - - 58 283'), prob: 0.076, value: 0.0048, visit: 2, value_sum: 0.023
board position: Board('3k3q/8/8/8/8/8/5K2/2b5 b - - 59 283'), prob: 0.56, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('3k3q/8/8/8/8/b3K3/8/8 w - - 58 283'), prob: 0.064, value: 0.016, visit: 1, value_sum: 0.016
board position: Board('3k3q/8/8/8/3b4/4K3/8/8 w - - 58 283'), prob: 0.073, value: -0.019, visit: 1, value_sum: -0.019
board position: Board('3k3q/8/8/4b3/8/4K3/8/8 w - - 58 283'), prob: 0.1, value: 0.013, visit: 4, value_sum: 0.0098
board position: Board('3k3q/8/8/4b3/8/8/3K4/8 b - - 59 283'), prob: 0.26, value: -0.016, visit: 2, value_sum: 0.015
board position: Board('3k3q/8/8/8/3b4/8/3K4/8 w - - 60 284'), prob: 0.61, value: -0.031, visit: 1, value_sum: -0.031
board position: Board('3k3q/8/8/4b3/8/3K4/8/8 b - - 59 283'), prob: 0.24, value: -0.013, visit: 1, value_sum: -0.013
board position: Board('7q/2k5/8/8/8/4K3/1b6/8 w - - 58 283'), prob: 0.084, value: -0.012, visit: 2, value_sum: 0.015
board position: Board('7q/2k5/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.45, value: -0.027, visit: 1, value_sum: -0.027
board position: Board('7q/3k4/8/8/8/4K3/1b6/8 w - - 58 283'), prob: 0.061, value: -0.014, visit: 1, value_sum: -0.014
board position: Board('7q/4k3/8/8/8/4K3/1b6/8 w - - 58 283'), prob: 0.086, value: -0.0058, visit: 3, value_sum: 0.035
board position: Board('7q/4k3/8/8/8/8/1b1K4/8 b - - 59 283'), prob: 0.29, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('7q/4k3/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.23, value: -0.019, visit: 1, value_sum: -0.019
board position: Board('2k4q/8/8/8/8/4K3/1b6/8 w - - 58 283'), prob: 0.09, value: -0.0048, visit: 3, value_sum: 0.037
board position: Board('2k4q/8/8/8/8/8/1b1K4/8 b - - 59 283'), prob: 0.3, value: -0.021, visit: 1, value_sum: -0.021
board position: Board('2k4q/8/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.23, value: -0.021, visit: 1, value_sum: -0.021
board position: Board('4k2q/8/8/8/8/4K3/1b6/8 w - - 58 283'), prob: 0.094, value: -0.012, visit: 3, value_sum: -0.0078
board position: Board('4k2q/8/8/8/8/8/1b1K4/8 b - - 59 283'), prob: 0.33, value: -0.03, visit: 2, value_sum: -0.004
board position: Board('5k1q/8/8/8/8/8/1b1K4/8 w - - 60 284'), prob: 0.23, value: -0.026, visit: 1, value_sum: -0.026
board position: Board('3k3q/8/8/8/2K5/8/1b6/8 b - - 57 282'), prob: 0.27, value: 0.018, visit: 297, value_sum: -0.12
board position: Board('3k3q/8/8/8/2K5/8/8/2b5 w - - 58 283'), prob: 0.029, value: 0.021, visit: 3, value_sum: 0.032
board position: Board('3k3q/8/8/1K6/8/8/8/2b5 b - - 59 283'), prob: 0.32, value: -0.038, visit: 2, value_sum: -0.011
board position: Board('3k3q/8/8/1K6/8/b7/8/8 w - - 60 284'), prob: 0.52, value: -0.027, visit: 1, value_sum: -0.027
board position: Board('3k3q/8/8/8/2K5/b7/8/8 w - - 58 283'), prob: 0.023, value: 0.03, visit: 1, value_sum: 0.03
board position: Board('3k3q/8/8/8/2Kb4/8/8/8 w - - 58 283'), prob: 0.023, value: -0.00044, visit: 1, value_sum: -0.00044
board position: Board('3k3q/8/8/4b3/2K5/8/8/8 w - - 58 283'), prob: 0.056, value: 0.018, visit: 9, value_sum: 0.11
board position: Board('3k3q/8/8/4b3/8/1K6/8/8 b - - 59 283'), prob: 0.16, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('3k3q/8/8/4b3/1K6/8/8/8 b - - 59 283'), prob: 0.14, value: -0.027, visit: 1, value_sum: -0.027
board position: Board('3k3q/8/8/1K2b3/8/8/8/8 b - - 59 283'), prob: 0.33, value: -0.033, visit: 5, value_sum: -0.03
board position: Board('3k3q/8/8/1K6/3b4/8/8/8 w - - 60 284'), prob: 0.26, value: -0.057, visit: 4, value_sum: -0.0032
board position: Board('3k3q/8/8/3Kb3/8/8/8/8 b - - 59 283'), prob: 0.17, value: -0.015, visit: 1, value_sum: -0.015
board position: Board('7q/2k5/8/8/2K5/8/1b6/8 w - - 58 283'), prob: 0.1, value: 0.0077, visit: 30, value_sum: 0.021
board position: Board('7q/2k5/8/8/8/1K6/1b6/8 b - - 59 283'), prob: 0.2, value: -0.04, visit: 6, value_sum: -0.039
board position: Board('7q/1k6/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.2, value: -0.017, visit: 1, value_sum: -0.017
board position: Board('2k4q/8/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.22, value: -0.025, visit: 2, value_sum: 0.011
board position: Board('3k3q/8/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.22, value: -0.025, visit: 2, value_sum: 0.0056
board position: Board('7q/2k5/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.11, value: -0.034, visit: 1, value_sum: -0.034
board position: Board('7q/2k5/8/1K6/8/8/1b6/8 b - - 59 283'), prob: 0.31, value: -0.059, visit: 16, value_sum: 0.12
board position: Board('7q/8/3k4/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.079, value: -0.037, visit: 1, value_sum: -0.037
board position: Board('7q/1k6/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.2, value: -0.035, visit: 10, value_sum: -0.016
board position: Board('2k4q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.094, value: -0.044, visit: 1, value_sum: -0.044
board position: Board('3k3q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.1, value: -0.045, visit: 2, value_sum: -0.032
board position: Board('8/2k4q/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.078, value: -0.044, visit: 1, value_sum: -0.044
board position: Board('7q/2k5/8/2K5/8/8/1b6/8 b - - 59 283'), prob: 0.19, value: -0.018, visit: 5, value_sum: -0.023
board position: Board('2k4q/8/8/2K5/8/8/1b6/8 w - - 60 284'), prob: 0.26, value: -0.01, visit: 4, value_sum: 0.0052
board position: Board('7q/2k5/8/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.12, value: -0.033, visit: 1, value_sum: -0.033
board position: Board('7q/3k4/8/8/2K5/8/1b6/8 w - - 58 283'), prob: 0.035, value: 0.013, visit: 3, value_sum: 0.016
board position: Board('7q/3k4/8/1K6/8/8/1b6/8 b - - 59 283'), prob: 0.34, value: -0.046, visit: 2, value_sum: -0.0021
board position: Board('2k4q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.25, value: -0.044, visit: 1, value_sum: -0.044
board position: Board('7q/4k3/8/8/2K5/8/1b6/8 w - - 58 283'), prob: 0.056, value: 0.0099, visit: 9, value_sum: -0.096
board position: Board('7q/4k3/8/8/8/1K6/1b6/8 b - - 59 283'), prob: 0.27, value: -0.037, visit: 4, value_sum: 0.079
board position: Board('7q/5k2/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.16, value: -0.037, visit: 1, value_sum: -0.037
board position: Board('4k2q/8/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.19, value: -0.043, visit: 1, value_sum: -0.043
board position: Board('5k1q/8/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.18, value: -0.037, visit: 1, value_sum: -0.037
board position: Board('7q/4k3/8/1K6/8/8/1b6/8 b - - 59 283'), prob: 0.26, value: -0.045, visit: 3, value_sum: 0.053
board position: Board('7q/5k2/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.25, value: -0.051, visit: 1, value_sum: -0.051
board position: Board('5k1q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.15, value: -0.047, visit: 1, value_sum: -0.047
board position: Board('7q/4k3/8/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.21, value: -0.026, visit: 1, value_sum: -0.026
board position: Board('2k4q/8/8/8/2K5/8/1b6/8 w - - 58 283'), prob: 0.075, value: 0.02, visit: 16, value_sum: 0.033
board position: Board('2k4q/8/8/8/8/1K6/1b6/8 b - - 59 283'), prob: 0.18, value: -0.025, visit: 2, value_sum: -0.0048
board position: Board('2k4q/8/8/4b3/8/1K6/8/8 w - - 60 284'), prob: 0.18, value: -0.02, visit: 1, value_sum: -0.02
board position: Board('2k4q/8/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.12, value: -0.024, visit: 1, value_sum: -0.024
board position: Board('2k4q/8/8/1K6/8/8/1b6/8 b - - 59 283'), prob: 0.38, value: -0.044, visit: 11, value_sum: 0.049
board position: Board('7q/1k6/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.17, value: -0.035, visit: 2, value_sum: -0.013
board position: Board('7q/3k4/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.31, value: -0.046, visit: 7, value_sum: -0.041
board position: Board('1k5q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.12, value: -0.039, visit: 1, value_sum: -0.039
board position: Board('2k4q/8/8/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.15, value: -0.034, visit: 1, value_sum: -0.034
board position: Board('4k2q/8/8/8/2K5/8/1b6/8 w - - 58 283'), prob: 0.084, value: 0.0071, visit: 21, value_sum: -0.013
board position: Board('4k2q/8/8/8/8/1K6/1b6/8 b - - 59 283'), prob: 0.22, value: -0.043, visit: 5, value_sum: 0.031
board position: Board('7q/5k2/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.19, value: -0.037, visit: 1, value_sum: -0.037
board position: Board('5k1q/8/8/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.27, value: -0.037, visit: 3, value_sum: -0.037
board position: Board('4k2q/8/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.13, value: -0.031, visit: 1, value_sum: -0.031
board position: Board('4k2q/8/8/1K6/8/8/1b6/8 b - - 59 283'), prob: 0.32, value: -0.051, visit: 11, value_sum: -0.0005
board position: Board('3k3q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.16, value: -0.045, visit: 1, value_sum: -0.045
board position: Board('5k1q/8/8/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.38, value: -0.047, visit: 9, value_sum: -0.0048
board position: Board('4k2q/8/8/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.17, value: -0.035, visit: 3, value_sum: 0.021
board position: Board('3k3q/8/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.14, value: -0.027, visit: 1, value_sum: -0.027
board position: Board('5k1q/8/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.16, value: -0.03, visit: 1, value_sum: -0.03
board position: Board('3k4/8/8/8/2K5/2q5/1b6/8 w - - 58 283'), prob: 0.038, value: 0.046, visit: 4, value_sum: 0.04
board position: Board('3k4/8/8/1K6/8/2q5/1b6/8 b - - 59 283'), prob: 0.65, value: -0.013, visit: 3, value_sum: 0.0061
board position: Board('4k3/8/8/1K6/8/2q5/1b6/8 w - - 60 284'), prob: 0.26, value: -0.015, visit: 2, value_sum: -0.019
board position: Board('3k4/8/8/8/2Kq4/8/1b6/8 w - - 58 283'), prob: 0.03, value: 0.036, visit: 3, value_sum: 0.046
board position: Board('3k4/8/8/1K6/3q4/8/1b6/8 b - - 59 283'), prob: 0.68, value: -0.021, visit: 2, value_sum: -0.01
board position: Board('3k4/8/8/1K1q4/8/8/1b6/8 w - - 60 284'), prob: 0.12, value: -0.011, visit: 1, value_sum: -0.011
board position: Board('3k4/8/8/4q3/2K5/8/1b6/8 w - - 58 283'), prob: 0.23, value: 0.058, visit: 159, value_sum: -0.013
board position: Board('3k4/8/8/4q3/8/1K6/1b6/8 b - - 59 283'), prob: 0.52, value: 0.018, visit: 107, value_sum: 0.081
board position: Board('3k4/8/8/8/3q4/1K6/1b6/8 w - - 60 284'), prob: 0.38, value: -0.0039, visit: 78, value_sum: -0.15
board position: Board('3k4/8/8/8/5q2/1K6/1b6/8 w - - 60 284'), prob: 0.093, value: -0.0072, visit: 4, value_sum: 0.0066
board position: Board('3k4/8/8/3q4/8/1K6/1b6/8 w - - 60 284'), prob: 0.18, value: 0.0013, visit: 18, value_sum: 0.033
board position: Board('3k4/8/8/5q2/8/1K6/1b6/8 w - - 60 284'), prob: 0.074, value: 0.014, visit: 3, value_sum: 0.018
board position: Board('3k4/8/4q3/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.062, value: 0.014, visit: 2, value_sum: 0.014
board position: Board('3k4/8/5q2/8/8/1K6/1b6/8 w - - 60 284'), prob: 0.049, value: 0.015, visit: 1, value_sum: 0.015
board position: Board('3k4/8/8/4q3/8/3K4/1b6/8 b - - 59 283'), prob: 0.33, value: 0.0045, visit: 42, value_sum: -0.073
board position: Board('3k4/8/8/4q3/3b4/3K4/8/8 w - - 60 284'), prob: 0.04, value: -0.017, visit: 1, value_sum: -0.017
board position: Board('3k4/8/8/8/8/3K2q1/1b6/8 w - - 60 284'), prob: 0.044, value: 0.013, visit: 1, value_sum: 0.013
board position: Board('3k4/8/8/8/3q4/3K4/1b6/8 w - - 60 284'), prob: 0.095, value: -0.01, visit: 6, value_sum: 0.037
board position: Board('3k4/8/8/8/4q3/3K4/1b6/8 w - - 60 284'), prob: 0.066, value: 0.046, visit: 3, value_sum: 0.046
board position: Board('3k4/8/8/8/5q2/3K4/1b6/8 w - - 60 284'), prob: 0.14, value: -0.0078, visit: 15, value_sum: 0.019
board position: Board('3k4/8/8/3q4/8/3K4/1b6/8 w - - 60 284'), prob: 0.11, value: 0.0028, visit: 8, value_sum: 0.033
board position: Board('3k4/8/5q2/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.054, value: 0.017, visit: 2, value_sum: -0.046
board position: Board('3k4/6q1/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.07, value: 0.0037, visit: 3, value_sum: -0.031
board position: Board('2k5/8/8/4q3/8/3K4/1b6/8 w - - 60 284'), prob: 0.043, value: 0.018, visit: 1, value_sum: 0.018
board position: Board('4k3/8/8/4q3/8/3K4/1b6/8 w - - 60 284'), prob: 0.039, value: 0.0063, visit: 1, value_sum: 0.0063
board position: Board('3k4/8/8/4q3/1K6/8/1b6/8 b - - 59 283'), prob: 0.16, value: 0.0089, visit: 9, value_sum: 0.062
board position: Board('3k4/8/8/8/1K1q4/8/1b6/8 w - - 60 284'), prob: 0.16, value: -0.014, visit: 6, value_sum: -0.039
board position: Board('3k4/8/8/8/1K3q2/8/1b6/8 w - - 60 284'), prob: 0.074, value: -0.013, visit: 1, value_sum: -0.013
board position: Board('3k4/8/8/3q4/1K6/8/1b6/8 w - - 60 284'), prob: 0.084, value: -0.0022, visit: 1, value_sum: -0.0022
board position: Board('3k4/8/5q2/8/2K5/8/1b6/8 w - - 58 283'), prob: 0.11, value: 0.063, visit: 37, value_sum: -0.063
board position: Board('3k4/8/5q2/8/8/1K6/1b6/8 b - - 59 283'), prob: 0.12, value: 0.015, visit: 2, value_sum: 0.00069
board position: Board('3k4/8/8/5q2/8/1K6/1b6/8 w - - 60 284'), prob: 0.21, value: 0.014, visit: 1, value_sum: 0.014
board position: Board('3k4/8/5q2/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.19, value: 0.017, visit: 6, value_sum: -0.0024
board position: Board('3k4/8/8/8/3q4/3K4/1b6/8 w - - 60 284'), prob: 0.11, value: -0.01, visit: 1, value_sum: -0.01
board position: Board('3k4/8/8/8/7q/3K4/1b6/8 w - - 60 284'), prob: 0.12, value: 0.0022, visit: 2, value_sum: 0.0042
board position: Board('3k4/8/8/5q2/8/3K4/1b6/8 w - - 60 284'), prob: 0.11, value: 0.082, visit: 2, value_sum: 0.025
board position: Board('3k4/8/5q2/8/1K6/8/1b6/8 b - - 59 283'), prob: 0.082, value: 0.014, visit: 1, value_sum: 0.014
board position: Board('3k4/8/5q2/1K6/8/8/1b6/8 b - - 59 283'), prob: 0.36, value: 0.00041, visit: 22, value_sum: 0.098
board position: Board('3k4/8/8/1K6/3q4/8/1b6/8 w - - 60 284'), prob: 0.048, value: -0.021, visit: 1, value_sum: -0.021
board position: Board('3k4/8/8/1K6/7q/8/1b6/8 w - - 60 284'), prob: 0.066, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('3k4/8/8/1K2q3/8/8/1b6/8 w - - 60 284'), prob: 0.058, value: -0.0032, visit: 1, value_sum: -0.0032
board position: Board('3k4/8/8/1K3q2/8/8/1b6/8 w - - 60 284'), prob: 0.091, value: 0.002, visit: 3, value_sum: 0.021
board position: Board('8/2k5/5q2/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.054, value: -0.011, visit: 1, value_sum: -0.011
board position: Board('8/4k3/5q2/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.066, value: -0.0071, visit: 1, value_sum: -0.0071
board position: Board('2k5/8/5q2/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.12, value: 0.00046, visit: 6, value_sum: -0.054
board position: Board('4k3/8/5q2/1K6/8/8/1b6/8 w - - 60 284'), prob: 0.13, value: -0.0045, visit: 7, value_sum: -0.0033
board position: Board('3k4/8/5q2/2K5/8/8/1b6/8 b - - 59 283'), prob: 0.13, value: 0.027, visit: 3, value_sum: 0.00083
board position: Board('3k4/8/8/2K2q2/8/8/1b6/8 w - - 60 284'), prob: 0.12, value: 0.016, visit: 1, value_sum: 0.016
board position: Board('3k4/8/4q3/2K5/8/8/1b6/8 w - - 60 284'), prob: 0.097, value: 0.011, visit: 1, value_sum: 0.011
board position: Board('3k4/8/5q2/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.12, value: 0.011, visit: 2, value_sum: 0.014
board position: Board('3k4/8/8/3K1q2/8/8/1b6/8 w - - 60 284'), prob: 0.13, value: -0.0036, visit: 1, value_sum: -0.0036
board position: Board('3k3q/8/8/8/4K3/8/1b6/8 b - - 57 282'), prob: 0.36, value: -0.033, visit: 525, value_sum: -1.5
board position: Board('3k3q/8/8/8/4K3/8/8/2b5 w - - 58 283'), prob: 0.045, value: -0.015, visit: 9, value_sum: -0.017
board position: Board('3k3q/8/8/8/8/3K4/8/2b5 b - - 59 283'), prob: 0.41, value: -0.012, visit: 5, value_sum: 0.027
board position: Board('3k3q/8/8/8/8/b2K4/8/8 w - - 60 284'), prob: 0.57, value: 0.0061, visit: 4, value_sum: -0.039
board position: Board('3k3q/8/8/8/8/5K2/8/2b5 b - - 59 283'), prob: 0.3, value: -0.0046, visit: 2, value_sum: -0.0032
board position: Board('3k3q/8/8/8/8/b4K2/8/8 w - - 60 284'), prob: 0.24, value: -0.0014, visit: 1, value_sum: -0.0014
board position: Board('3k3q/8/8/3K4/8/8/8/2b5 b - - 59 283'), prob: 0.22, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('3k3q/8/8/8/4K3/b7/8/8 w - - 58 283'), prob: 0.026, value: -0.018, visit: 2, value_sum: -0.024
board position: Board('3k3q/8/8/8/8/b2K4/8/8 b - - 59 283'), prob: 0.49, value: 0.0061, visit: 1, value_sum: 0.0061
board position: Board('3k3q/8/8/8/3bK3/8/8/8 w - - 58 283'), prob: 0.11, value: -0.051, visit: 60, value_sum: 0.26
board position: Board('3k3q/8/8/8/3b4/3K4/8/8 b - - 59 283'), prob: 0.47, value: -0.036, visit: 39, value_sum: -0.17
board position: Board('3k3q/8/8/8/8/2bK4/8/8 w - - 60 284'), prob: 0.34, value: -0.038, visit: 32, value_sum: 0.13
board position: Board('3k3q/8/8/8/8/3Kb3/8/8 w - - 60 284'), prob: 0.15, value: -0.015, visit: 5, value_sum: 0.016
board position: Board('3k3q/8/1b6/8/8/3K4/8/8 w - - 60 284'), prob: 0.084, value: -0.02, visit: 1, value_sum: -0.02
board position: Board('3k3q/8/8/8/3b4/5K2/8/8 b - - 59 283'), prob: 0.33, value: -0.035, visit: 18, value_sum: -0.15
board position: Board('3k3q/8/8/8/8/2b2K2/8/8 w - - 60 284'), prob: 0.69, value: -0.04, visit: 17, value_sum: 0.12
board position: Board('3k3q/8/8/8/3b1K2/8/8/8 b - - 59 283'), prob: 0.11, value: -0.047, visit: 2, value_sum: 0.0093
board position: Board('3k3q/8/8/8/5K2/2b5/8/8 w - - 60 284'), prob: 0.65, value: -0.056, visit: 1, value_sum: -0.056
board position: Board('3k3q/8/8/4b3/4K3/8/8/8 w - - 58 283'), prob: 0.2, value: -0.02, visit: 177, value_sum: 0.51
board position: Board('3k3q/8/8/4b3/8/3K4/8/8 b - - 59 283'), prob: 0.45, value: -0.013, visit: 111, value_sum: -0.16
board position: Board('3k3q/8/8/8/8/3K4/8/b7 w - - 60 284'), prob: 0.079, value: -0.0087, visit: 4, value_sum: -0.014
board position: Board('3k3q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.045, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('3k3q/8/8/8/8/3K4/7b/8 w - - 60 284'), prob: 0.058, value: -0.023, visit: 2, value_sum: 0.005
board position: Board('3k3q/8/8/8/8/3K2b1/8/8 w - - 60 284'), prob: 0.049, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('3k3q/8/8/8/3b4/3K4/8/8 w - - 60 284'), prob: 0.37, value: -0.036, visit: 97, value_sum: 0.18
board position: Board('3k3q/2b5/8/8/8/3K4/8/8 w - - 60 284'), prob: 0.066, value: -0.033, visit: 2, value_sum: -0.034
board position: Board('1b1k3q/8/8/8/8/3K4/8/8 w - - 60 284'), prob: 0.067, value: 0.034, visit: 3, value_sum: 0.045
board position: Board('3k3q/8/8/4b3/8/4K3/8/8 b - - 59 283'), prob: 0.14, value: 0.013, visit: 10, value_sum: -0.15
board position: Board('3k3q/8/8/8/3b4/4K3/8/8 w - - 60 284'), prob: 0.58, value: -0.019, visit: 9, value_sum: 0.16
board position: Board('3k3q/8/8/4b3/8/5K2/8/8 b - - 59 283'), prob: 0.31, value: -0.0068, visit: 53, value_sum: -0.26
board position: Board('3k3q/8/8/8/3b4/5K2/8/8 w - - 60 284'), prob: 0.69, value: -0.035, visit: 52, value_sum: 0.25
board position: Board('3k3q/8/8/3Kb3/8/8/8/8 b - - 59 283'), prob: 0.072, value: -0.015, visit: 2, value_sum: 0.029
board position: Board('3k3q/8/8/3K4/3b4/8/8/8 w - - 60 284'), prob: 0.47, value: -0.043, visit: 1, value_sum: -0.043
board position: Board('3k3q/8/5b2/8/4K3/8/8/8 w - - 58 283'), prob: 0.046, value: -0.029, visit: 9, value_sum: -0.048
board position: Board('3k3q/8/5b2/8/8/3K4/8/8 b - - 59 283'), prob: 0.55, value: -0.019, visit: 7, value_sum: 0.037
board position: Board('3k3q/8/8/4b3/8/3K4/8/8 w - - 60 284'), prob: 0.11, value: -0.013, visit: 1, value_sum: -0.013
board position: Board('3k3q/8/8/6b1/8/3K4/8/8 w - - 60 284'), prob: 0.1, value: -0.026, visit: 1, value_sum: -0.026
board position: Board('3k3q/4b3/8/8/8/3K4/8/8 w - - 60 284'), prob: 0.088, value: -0.019, visit: 1, value_sum: -0.019
board position: Board('3k3q/6b1/8/8/8/3K4/8/8 w - - 60 284'), prob: 0.074, value: -0.013, visit: 1, value_sum: -0.013
board position: Board('2k4q/8/5b2/8/8/3K4/8/8 w - - 60 284'), prob: 0.083, value: -0.02, visit: 1, value_sum: -0.02
board position: Board('3k4/8/5b1q/8/8/3K4/8/8 w - - 60 284'), prob: 0.082, value: 0.034, visit: 1, value_sum: 0.034
board position: Board('3k3q/8/5b2/8/8/5K2/8/8 b - - 59 283'), prob: 0.22, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('7q/2k5/8/8/4K3/8/1b6/8 w - - 58 283'), prob: 0.19, value: -0.04, visit: 158, value_sum: 0.43
board position: Board('7q/2k5/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.31, value: -0.034, visit: 66, value_sum: -0.32
board position: Board('7q/2k5/8/8/8/3K4/8/2b5 w - - 60 284'), prob: 0.082, value: -0.019, visit: 3, value_sum: -0.019
board position: Board('7q/8/1k6/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.047, value: -0.032, visit: 1, value_sum: -0.032
board position: Board('7q/8/3k4/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.051, value: -0.021, visit: 1, value_sum: -0.021
board position: Board('7q/1k6/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.18, value: -0.018, visit: 16, value_sum: 0.11
board position: Board('2k4q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.29, value: -0.024, visit: 42, value_sum: 0.23
board position: Board('3k3q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.074, value: -0.022, visit: 2, value_sum: 0.011
board position: Board('7q/2k5/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.24, value: -0.012, visit: 39, value_sum: -0.16
board position: Board('7q/8/1k6/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.087, value: -0.011, visit: 2, value_sum: 0.015
board position: Board('7q/8/3k4/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.086, value: 0.00067, visit: 2, value_sum: 0.018
board position: Board('7q/1k6/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.28, value: 0.0015, visit: 21, value_sum: 0.059
board position: Board('7q/3k4/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.066, value: -0.014, visit: 1, value_sum: -0.014
board position: Board('2k4q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.19, value: -0.0048, visit: 9, value_sum: 0.03
board position: Board('3k3q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.1, value: -0.0011, visit: 3, value_sum: 0.042
board position: Board('7q/2k5/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.12, value: -0.027, visit: 10, value_sum: 0.038
board position: Board('7q/8/1k6/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.12, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('7q/8/3k4/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.15, value: -0.017, visit: 1, value_sum: -0.017
board position: Board('7q/1k6/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.28, value: -0.0097, visit: 6, value_sum: -0.0051
board position: Board('2k4q/8/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.13, value: -0.021, visit: 1, value_sum: -0.021
board position: Board('7q/2k5/8/8/5K2/8/1b6/8 b - - 59 283'), prob: 0.043, value: -0.047, visit: 1, value_sum: -0.047
board position: Board('7q/2k5/8/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.23, value: -0.033, visit: 38, value_sum: 0.0023
board position: Board('7q/8/1k6/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.086, value: -0.031, visit: 1, value_sum: -0.031
board position: Board('7q/1k6/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.2, value: -0.019, visit: 10, value_sum: -0.0008
board position: Board('7q/3k4/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.064, value: -0.038, visit: 1, value_sum: -0.038
board position: Board('1k5q/8/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.1, value: -0.011, visit: 2, value_sum: -0.038
board position: Board('2k4q/8/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.28, value: -0.034, visit: 20, value_sum: 0.059
board position: Board('3k3q/8/8/3K4/8/8/1b6/8 w - - 60 284'), prob: 0.11, value: -0.027, visit: 3, value_sum: 0.013
board position: Board('7q/2k5/8/5K2/8/8/1b6/8 b - - 59 283'), prob: 0.069, value: -0.031, visit: 3, value_sum: 0.014
board position: Board('7q/1k6/8/5K2/8/8/1b6/8 w - - 60 284'), prob: 0.25, value: -0.015, visit: 1, value_sum: -0.015
board position: Board('2k4q/8/8/5K2/8/8/1b6/8 w - - 60 284'), prob: 0.2, value: -0.03, visit: 1, value_sum: -0.03
board position: Board('7q/4k3/8/8/4K3/8/1b6/8 w - - 58 283'), prob: 0.072, value: -0.033, visit: 24, value_sum: 0.11
board position: Board('7q/4k3/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.23, value: -0.022, visit: 5, value_sum: -0.0016
board position: Board('7q/4k3/8/8/8/3K4/8/b7 w - - 60 284'), prob: 0.17, value: -0.011, visit: 1, value_sum: -0.011
board position: Board('7q/4k3/8/8/8/3K4/8/2b5 w - - 60 284'), prob: 0.28, value: -0.01, visit: 3, value_sum: -0.0091
board position: Board('7q/4k3/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.38, value: -0.0058, visit: 15, value_sum: -0.12
board position: Board('7q/4k3/8/8/8/4K3/8/2b5 w - - 60 284'), prob: 0.077, value: -0.0014, visit: 1, value_sum: -0.0014
board position: Board('7q/8/5k2/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.11, value: -0.00042, visit: 2, value_sum: 0.015
board position: Board('7q/3k4/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.076, value: -0.014, visit: 1, value_sum: -0.014
board position: Board('7q/5k2/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.11, value: -0.013, visit: 2, value_sum: 0.022
board position: Board('4k2q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.11, value: -0.012, visit: 2, value_sum: 0.019
board position: Board('5k1q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.18, value: -0.0077, visit: 6, value_sum: 0.075
board position: Board('7q/4k3/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.15, value: -0.019, visit: 2, value_sum: 0.0052
board position: Board('5k1q/8/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.22, value: -0.024, visit: 1, value_sum: -0.024
board position: Board('7q/4k3/8/5K2/8/8/1b6/8 b - - 59 283'), prob: 0.097, value: -0.022, visit: 1, value_sum: -0.022
board position: Board('2k4q/8/8/8/4K3/8/1b6/8 w - - 58 283'), prob: 0.11, value: -0.035, visit: 53, value_sum: 0.21
board position: Board('2k4q/8/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.22, value: -0.024, visit: 10, value_sum: 0.05
board position: Board('2k4q/8/8/8/8/3K4/8/b7 w - - 60 284'), prob: 0.092, value: -0.01, visit: 1, value_sum: -0.01
board position: Board('2k4q/8/8/8/8/3K4/8/2b5 w - - 60 284'), prob: 0.19, value: -0.009, visit: 4, value_sum: -0.046
board position: Board('2k4q/8/8/4b3/8/3K4/8/8 w - - 60 284'), prob: 0.12, value: -0.013, visit: 1, value_sum: -0.013
board position: Board('7q/3k4/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.16, value: -0.03, visit: 3, value_sum: -0.005
board position: Board('2k4q/8/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.38, value: -0.0048, visit: 29, value_sum: -0.23
board position: Board('7q/1k6/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.15, value: 0.0015, visit: 2, value_sum: 0.016
board position: Board('7q/3k4/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.52, value: -0.014, visit: 26, value_sum: 0.21
board position: Board('2k4q/8/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.26, value: -0.021, visit: 13, value_sum: -0.064
board position: Board('7q/1k6/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.2, value: -0.0097, visit: 4, value_sum: 0.031
board position: Board('7q/3k4/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.22, value: -0.032, visit: 5, value_sum: 0.044
board position: Board('1k5q/8/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.16, value: -0.0052, visit: 2, value_sum: -0.013
board position: Board('3k3q/8/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.15, value: -0.018, visit: 1, value_sum: -0.018
board position: Board('4k2q/8/8/8/4K3/8/1b6/8 w - - 58 283'), prob: 0.079, value: -0.039, visit: 29, value_sum: 0.094
board position: Board('4k2q/8/8/8/8/3K4/1b6/8 b - - 59 283'), prob: 0.36, value: -0.031, visit: 16, value_sum: -0.036
board position: Board('4k2q/8/8/8/8/3K4/8/b7 w - - 60 284'), prob: 0.079, value: -0.014, visit: 1, value_sum: -0.014
board position: Board('4k2q/8/8/8/8/3K4/8/2b5 w - - 60 284'), prob: 0.13, value: -0.02, visit: 3, value_sum: -0.0094
board position: Board('4k2q/8/8/4b3/8/3K4/8/8 w - - 60 284'), prob: 0.077, value: -0.023, visit: 1, value_sum: -0.023
board position: Board('3k3q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.14, value: -0.022, visit: 4, value_sum: -0.027
board position: Board('5k1q/8/8/8/8/3K4/1b6/8 w - - 60 284'), prob: 0.17, value: -0.025, visit: 6, value_sum: 0.078
board position: Board('4k2q/8/8/8/8/4K3/1b6/8 b - - 59 283'), prob: 0.27, value: -0.012, visit: 9, value_sum: -0.059
board position: Board('3k3q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.19, value: -0.0011, visit: 1, value_sum: -0.0011
board position: Board('5k1q/8/8/8/8/4K3/1b6/8 w - - 60 284'), prob: 0.41, value: -0.0077, visit: 7, value_sum: 0.048
board position: Board('4k2q/8/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.15, value: -0.027, visit: 2, value_sum: -0.0023
board position: Board('5k1q/8/8/8/8/5K2/1b6/8 w - - 60 284'), prob: 0.46, value: -0.024, visit: 1, value_sum: -0.024
board position: Board('4k2q/8/8/3K4/8/8/1b6/8 b - - 59 283'), prob: 0.1, value: -0.035, visit: 1, value_sum: -0.035
board position: Board('3k4/8/8/4q3/4K3/8/1b6/8 w - - 58 283'), prob: 0.018, value: -0.0019, visit: 1, value_sum: -0.0019
board position: Board('3k4/7q/8/8/4K3/8/1b6/8 w - - 58 283'), prob: 0.025, value: -0.024, visit: 2, value_sum: -0.013
board position: Board('3k4/7q/8/8/8/5K2/1b6/8 b - - 59 283'), prob: 0.5, value: -0.011, visit: 1, value_sum: -0.011
"""
visualize_tree(tree_str)