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

Allow pawn to upgrade to other pieces #16

Open
jacobgardner opened this issue Dec 19, 2018 · 0 comments
Open

Allow pawn to upgrade to other pieces #16

jacobgardner opened this issue Dec 19, 2018 · 0 comments
Labels
bug Something isn't working C:Move Gen Anything dealing with raw chess move generation

Comments

@jacobgardner
Copy link
Owner

A pawn when hitting the end of the board, may choose to promote to any piece (excluding king and pawn). So technically this move should create a board for each of these other pieces.

I think it would be useless to generate a rook or bishop over a queen, but a knight may be useful, so our move generator should create 2 boards for each promotion (1 queen and 1 knight)

@jacobgardner jacobgardner added bug Something isn't working enhancement New feature or request labels Dec 19, 2018
@jacobgardner jacobgardner added C:Move Gen Anything dealing with raw chess move generation and removed enhancement New feature or request labels Dec 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working C:Move Gen Anything dealing with raw chess move generation
Projects
None yet
Development

No branches or pull requests

1 participant