py-stockfish / stockfish

Integrates the Stockfish chess engine with Python (Official fork)
https://py-stockfish.github.io/stockfish/
MIT License
29 stars 8 forks source link

Option for getting stockfish to search with both depth and movetime #62

Open johndoknjas opened 11 months ago

johndoknjas commented 11 months ago

https://chess.stackexchange.com/questions/12884/uci-go-with-depth-and-movetime

As shown in Marv's answer, this is simple enough to do as a command (e.g., go depth x movetime y). Stockfish will stop if it reaches the specified depth, or the specified movetime (whichever comes first).