-
Notifications
You must be signed in to change notification settings - Fork 0
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
promotion bug : illegal move #1
Comments
did you consider to look into this Issue ? |
I checked the positions first in the Terminal to verify the output and then proceeded to try the positions in Arena Chess which is the usual GUI I use and promoted the queen with no problem in those two positions, furthermore, I tried the positions in lichess and played with Kojiro to verify there is no problem in the output of the UCI. Having said that there's clearly a problem with my promotion move output and the CuteChess GUI, so I did a little bit of digging and found this issue thread which furthermore strengthens my suspicion that CuteChess GUI doesn't accept upper case for promotions. these two promotion moves are upper cases because I use upper cases for white and lower cases for black, which isn't against UCI protocol afaik, and is kind of an aesthetic decision that follows the pattern of FEN format. I might think about removing it in other versions. for now, if you want to try the bot with CuteChess GUI I guess replacing uppercase letters in promoted_pieces array with lowercase ones will solve the problem, it will only affect PV and bestmove output in UCI. @tissatussa btw thanks for trying out my bot :) |
indeed, that's it ! you should update the source code accordingly and create v0.1.1 ? |
btw. when compiling, i didn't get any errors, but lots of warnings !? i guess they're easy to fix - and you should ? |
i compiled Kojiro on Linux (Xubuntu 22.04) and it runs fine in CuteChess (GUI) but sometimes it makes an illegal move concerning promotion .. here are two examples :
The text was updated successfully, but these errors were encountered: