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

Bug in CheekToCheek condition? #309

Closed
nshram opened this issue Mar 25, 2021 · 2 comments
Closed

Bug in CheekToCheek condition? #309

nshram opened this issue Mar 25, 2021 · 2 comments
Assignees

Comments

@nshram
Copy link

nshram commented Mar 25, 2021

In this position: WKc8, WBa3, WPg5; BKe8, BBf6, BPf5; White can mate in 1 by 1.g6#! But Popeye gives no solution.
If we add a BBh6 then Popeye gives 1.g6# as a solution.

Another test position: WKc8, WPc6; BKa8, BRb6, BSb7, BPa7; #1 by 1.c7#! But here too Popeye says no solution.
If we add BSd7 then 1.c7#! is accepted as a solution.

Is this a bug or am I missing something?

EDIT: It looks like Popeye is interpreting CtC as "...when two pieces of opposite colours stand adjacent to each other on the same rank, they transfer their powers to each other, while also retaining their original powers". But this seems to be against the rule in the related conditions: BackToBack, FaceToFace and Point Reflection, where the pieces lose their original powers.

@thomas-maeder thomas-maeder self-assigned this Apr 29, 2021
@thomas-maeder
Copy link
Owner

Definitely a bug.

begin
pieces white kc8 ba3 pg6 black ke8 bf6 pf5
stipulation ~1
condition cheektocheek
option noboard halfduplex
end

shows that Popeye simply moves the bishop away as a bishop to remove the bishop powers from the pawn.

The analoguous thing doesn't happen in FaceToFace or BackToBack.

@thomas-maeder
Copy link
Owner

Fixed for 4.87

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

2 participants