Evaluation: depth 25 oder 15s Timeout (movetime 15000)
This commit is contained in:
@@ -26,7 +26,7 @@ if not STOCKFISH_PATH:
|
|||||||
else:
|
else:
|
||||||
STOCKFISH_PATH = "stockfish"
|
STOCKFISH_PATH = "stockfish"
|
||||||
|
|
||||||
STOCKFISH_DEPTH = int(os.environ.get("STOCKFISH_DEPTH", 15))
|
STOCKFISH_DEPTH = int(os.environ.get("STOCKFISH_DEPTH", 25))
|
||||||
|
|
||||||
_stockfish_lock = threading.Lock()
|
_stockfish_lock = threading.Lock()
|
||||||
|
|
||||||
@@ -127,7 +127,7 @@ class StockfishEngine:
|
|||||||
self._drain_queue()
|
self._drain_queue()
|
||||||
|
|
||||||
self._send(f"position fen {fen}")
|
self._send(f"position fen {fen}")
|
||||||
self._send(f"go depth {STOCKFISH_DEPTH}")
|
self._send(f"go depth {STOCKFISH_DEPTH} movetime 15000")
|
||||||
self._searching = True
|
self._searching = True
|
||||||
|
|
||||||
score_cp = None
|
score_cp = None
|
||||||
|
|||||||
Reference in New Issue
Block a user