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

Fix Bug for capture mode and valid piece combination #17

Closed
Awthura opened this issue Jan 10, 2021 · 1 comment
Closed

Fix Bug for capture mode and valid piece combination #17

Awthura opened this issue Jan 10, 2021 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@Awthura
Copy link
Collaborator

Awthura commented Jan 10, 2021

I have discovered a bug which might be related to issue #10 and #7
The bug is triggered in second, third, sixth and seventh ranks where there are multiple valid pieces available to capture a single piece.
Bug_001
As we can see in the above photo, the code thinks capturable piece as a free square. and we can actually move to that square, removing the piece.
Bug_002
Bug_003

@mlsdpk @aungmcs @aungpaing98

@Awthura Awthura added bug Something isn't working enhancement New feature or request labels Jan 10, 2021
@Awthura Awthura changed the title Fixing Bug for capture mode and valid piece combination Fix Bug for capture mode and valid piece combination Jan 10, 2021
@Awthura
Copy link
Collaborator Author

Awthura commented Jan 10, 2021

resolved with #16

@Awthura Awthura closed this as completed Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant