Engine test- 3-move mate Sam Loyd (1903) masterpiece Ke2!

Discussion of chess software programming and technical issues.

Moderator: Ras

User avatar
mvanthoor
Posts: 1784
Joined: Wed Jul 03, 2019 4:42 pm
Location: Netherlands
Full name: Marcel Vanthoor

Re: Engine test- 3-move mate Sam Loyd (1903) masterpiece Ke2!

Post by mvanthoor »

algerbrex wrote: Wed Oct 20, 2021 6:53 pm This is also true in Blunder. With null-move pruning Blunder doesn't find the mate-in-3 until the 7th ply:

...

With null-move pruning disabled, it finds the mate at the 5th ply, like Rustic:
...
Maybe it would be an idea to add a "--no-pruning" option to the engine for mate-finding. It would either require a lot of cluttering with if-statements in the search function, or an extra search function without any pruning, which would duplicate code.
Author of Rustic, an engine written in Rust.
Releases | Code | Docs | Progress | CCRL
User avatar
algerbrex
Posts: 608
Joined: Sun May 30, 2021 5:03 am
Location: United States
Full name: Christian Dean

Re: Engine test- 3-move mate Sam Loyd (1903) masterpiece Ke2!

Post by algerbrex »

mvanthoor wrote: Thu Oct 21, 2021 2:04 am
algerbrex wrote: Wed Oct 20, 2021 6:53 pm This is also true in Blunder. With null-move pruning Blunder doesn't find the mate-in-3 until the 7th ply:

...

With null-move pruning disabled, it finds the mate at the 5th ply, like Rustic:
...
Maybe it would be an idea to add a "--no-pruning" option to the engine for mate-finding. It would either require a lot of cluttering with if-statements in the search function, or an extra search function without any pruning, which would duplicate code.
That was my thinking. You'd need to find a way to implement that cleanly...Which is why I'm pushing that problem off to my future self :lol: