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

Add check extension to search #10

Open
vinc opened this issue Oct 19, 2017 · 1 comment
Open

Add check extension to search #10

vinc opened this issue Oct 19, 2017 · 1 comment
Assignees

Comments

@vinc
Copy link
Owner

vinc commented Oct 19, 2017

Check extension is quite simple, we already need is_in_check for null move pruning, so just before that we can add:

let is_in_check = self.is_check(side);

// Check extension
if is_in_check {
    depth += 1;
}
@vinc vinc changed the title Add check extension Add check extension to search Oct 19, 2017
@vinc vinc self-assigned this Oct 19, 2017
@vinc
Copy link
Owner Author

vinc commented Oct 19, 2017

At the moment it seems to hurt the engine strength:

Score of Little Wing v0.3.0-52-g15293e6-ce vs Little Wing v0.3.0-50-g1ba57e7: 857 - 999 - 471  [0.469] 2327
Elo difference: -21.23 +/- 12.61
SPRT: llr -2.87, lbound -2.94, ubound 2.94
Finished match

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant