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

Detect attacks and consider them first #15

Open
portnov opened this issue Jan 31, 2019 · 0 comments
Open

Detect attacks and consider them first #15

portnov opened this issue Jan 31, 2019 · 0 comments

Comments

@portnov
Copy link
Owner

portnov commented Jan 31, 2019

When applying a PossibleMove to a Board, return also list of pieces/locations being attacked.
When considering moves possible from given Board, try to move attacked pieces first.
As a next step, consider also moves that try to defend pieces being attacked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant