Skip to content

Stop search on finding mated in 2, mate in 1 or mate in 2#1074

Open
Saphereye wants to merge 1 commit into
codedeliveryservice:mainfrom
Saphereye:stop-on-mate
Open

Stop search on finding mated in 2, mate in 1 or mate in 2#1074
Saphereye wants to merge 1 commit into
codedeliveryservice:mainfrom
Saphereye:stop-on-mate

Conversation

@Saphereye

@Saphereye Saphereye commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Implementation of:
official-stockfish/Stockfish#6879

Bench: 3204302

Co-authored-by: Robert Nurnberg 28635489+robertnurnberg@users.noreply.github.com

@Saphereye Saphereye force-pushed the stop-on-mate branch 2 times, most recently from db03aa8 to eacc748 Compare June 7, 2026 07:32
@robertnurnberg

Copy link
Copy Markdown

Minor nit: imo it makes more sense to first check mate_in(3), and then the mated-in, as in the latter case we have lost the game anyway.

Implementation of:
official-stockfish/Stockfish#6879

Bench: 3204302

Co-authored-by: Robert Nurnberg <28635489+robertnurnberg@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants