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

Accept lower-case SAN #16

Open
rpdelaney opened this issue Apr 1, 2023 · 1 comment
Open

Accept lower-case SAN #16

rpdelaney opened this issue Apr 1, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@rpdelaney
Copy link

What feature would you like to see in cli-chess?

When typing moves it would be nice to be able to do nb3 , but this is rejected and Nb3 is required.

@rpdelaney rpdelaney added the enhancement New feature or request label Apr 1, 2023
@trevorbayless
Copy link
Owner

Correct, this is the intended functionality for SAN input as it follows proper chess notation. Considering this program allows input of SAN, UCI, and LAN this could get overly complicated to implement. Currently all move input is sent over to python-chess for parsing and validation and with this change cli-chess would need to handle the upfront parts of that as well.

Let me ponder on this one for a little bit to see if there is a straightforward way to implement it. I might be able to convert all legal moves and move input to lowercase and look for a match, but would need to take some performance measurements on this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants