Skip to content

searchmoves never stops #20

@quialzar

Description

@quialzar

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)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug or issue that should be resolvedquestionA question asking for help about ChessKitEngine functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions