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

Do not allow selecting a piece that is not allowed to move #44

Closed
charley04310 opened this issue Dec 6, 2023 · 0 comments
Closed

Do not allow selecting a piece that is not allowed to move #44

charley04310 opened this issue Dec 6, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@charley04310
Copy link
Contributor

Problem

For first move, you can select a piece with not allowed move. This can be easily removed.

Solution

Update select_cell method to add a control before executing any other conditions.

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