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

Speed up move generation #6

Open
bkthomps opened this issue May 1, 2022 · 0 comments
Open

Speed up move generation #6

bkthomps opened this issue May 1, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@bkthomps
Copy link
Owner

bkthomps commented May 1, 2022

Two possible optimizations:

  1. Pieces are currently stored on the board which has to be looped over
  2. For any move, all possible responses need to be examined to see if the king would be put into check. Perhaps keep track of which pieces can't move since it would put the king into check
@bkthomps bkthomps added the enhancement New feature or request label May 1, 2022
@bkthomps bkthomps self-assigned this May 1, 2022
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

1 participant