Hello and thank you for the awesome project, I've been having issues with searchmoves, it goes infinite even when I set a depth movetime or nodes.
engine.send(command: .stop)
engine.send(command: .position(.fen(fen)))
engine.send(command: .go(searchmoves:["a2a3"],depth: 14))
here's my code it doesn't stop at 14 and seems to go forever.
for now I just added command stop if condition is met in engine.receiveResponse = { response in
if let depth = info.depth, depth >= 14 {
engine.send(command: .stop)
}
Hello and thank you for the awesome project, I've been having issues with searchmoves, it goes infinite even when I set a depth movetime or nodes.
engine.send(command: .stop)
engine.send(command: .position(.fen(fen)))
engine.send(command: .go(searchmoves:["a2a3"],depth: 14))
here's my code it doesn't stop at 14 and seems to go forever.
for now I just added command stop if condition is met in engine.receiveResponse = { response in
if let depth = info.depth, depth >= 14 {
engine.send(command: .stop)
}