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

Invalid move indicator can occlude valid move indicator (for distinct moves to the same square) #1

Open
1j01 opened this issue Dec 21, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@1j01
Copy link
Owner

1j01 commented Dec 21, 2022

On a corner it's possible for a pawn to move OR attack the same square, because the pawn can reach the square by moving to it directly or indirectly, with the indirect path corresponding to a "diagonal" attack.
If there is an enemy piece, only the attack is a valid move, but sometimes the invalid move indicator appears over top the valid move indicator. The valid move indicator should get preference.

Actually, this should no longer be possible if I implement truncated cuboctahedral board geometry, I think.

@1j01 1j01 added the bug Something isn't working label Dec 21, 2022
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

1 participant