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

Incorrect eval bar, engine gets confused when long castling with check #583

Closed
gnaomo opened this issue Mar 7, 2024 · 3 comments
Closed
Labels
bug Something isn't working

Comments

@gnaomo
Copy link

gnaomo commented Mar 7, 2024

What is the problem?

It's black turn, When castling queen side with check the engine thinks that is still black turn, it should be white. The eval bar goes crazy, the suggested moves for white are blank, and the arrows for the best moves are displayed for black instead.

Important note, this happens ONLY if you castle "manually" (by dragging or tapping the king), if you instead select long castle on the engine suggested move, the bug will not manifest itself

Record_2024-03-07-15-41-23.mp4

Steps to reproduce the bug

Go to analyze.
Have the engine on
Follow the annotation on this image
Screenshot_2024-03-07-16-00-50-13_cbee2060dbe813f67358565f077e6954
When you long castle the bug will manifest itself

What did you expect to happen?

The engine working correctly

What happened instead?

The engine working wrong. The eval bar goes crazy, the suggested moves for the opponent are blank, and the arrows for the best moves are displayed for the wrong player instead.

Device Info

Realme 8 5G

Operating System Version

Android 11

Additional information

I did not test other cases such as, short castling with check, other games, white long castling, other phones, other OS, clearing app data, changing account.

@gnaomo gnaomo added the bug Something isn't working label Mar 7, 2024
@gnaomo
Copy link
Author

gnaomo commented Mar 7, 2024

UPDATE: I looked at issue #543 and I tried castling with his method both ways and they had different behaviors

Record_2024-03-07-16-11-21.mp4

I have the latest release but not the latest commit so maybe fixing #543 also fixed this

@EmmetSchuler
Copy link

Experienced this as well, just want to add that the wrong evaluation stems from the way in which one castles. If you tap / drag the king onto the room, it evaluates as normal. But if you tap / drag the king two squares, it will bug out.

@EmmetSchuler
Copy link

This has been fixed in the latest release.

@veloce veloce closed this as completed Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants