Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uci input go and gets stuck for the second time #80

Open
calcitem opened this issue Dec 12, 2020 · 0 comments
Open

uci input go and gets stuck for the second time #80

calcitem opened this issue Dec 12, 2020 · 0 comments

Comments

@calcitem
Copy link
Owner

如下提交引入:

SHA-1: b56990d

  • uci: 支持 position fen moves 指令

原来是在 Position::set() 中
th->us = sideToMove;
现在转移到 position() 函数中,以解决 moves 执行指令后再执行 go 卡住的问题。

void position(Position *pos, istringstream &is) 

添加:

    Threads.main()->us = pos->sideToMove;

导致。

calcitem added a commit that referenced this issue Dec 12, 2020
void position(Position *pos, istringstream &is)
添加一行 TODO 注释

// TODO: Stockfish does not have this
Threads.main()->us = pos->sideToMove;
calcitem added a commit that referenced this issue Dec 12, 2020
void position(Position *pos, istringstream &is)
添加一行 TODO 注释

// TODO: Stockfish does not have this
Threads.main()->us = pos->sideToMove;
@calcitem calcitem changed the title uci连续输go第2次卡住 uci input go and gets stuck for the second time Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant