main time, min time

This commit is contained in:
Sander Land committed 2020-09-20 23:13:28 +02:00
1 parent 199ffe8d42
commit dbe4011ab6
25 files changed
+166 -16

No files matched your search

+1 -1
View File
@@ -85,7 +85,7 @@ class KataGoEngine:
def start(self):
try:
self.katrain.log(f"Starting KataGo with {self.command}", OUTPUT_DEBUG)
startupinfo = None # stop command box popups on windows/pyinstaller
startupinfo = None # stop command box popups on windows/pyinstaller
if hasattr(subprocess, "STARTUPINFO"):
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW
+1
View File
@@ -79,6 +79,7 @@ class Game:
self.root.set_property("RU", katrain.config("game/rules"))
self.set_current_node(self.root)
self.main_time_used = 0
threading.Thread(
target=lambda: self.analyze_all_nodes(-1_000_000, analyze_fast=analyze_fast), daemon=True
).start() # return faster, but bypass Kivy Clock