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

Add Piece-specific move generation #451

Open
Sem1Rose opened this issue Aug 15, 2023 · 1 comment
Open

Add Piece-specific move generation #451

Sem1Rose opened this issue Aug 15, 2023 · 1 comment

Comments

@Sem1Rose
Copy link

If i want to filter the board.GetLegalMoves(); to only get a specific piece's moves, i'd need to use linq to filter the moves based on the type of the move's MovePieceType and StartSquare, which is not very efficient, so it'd be easier if you could add something like board.GeneratePieceMoves() to generate only this piece's moves.

@mcthouacbb
Copy link

API changes are no longer accepted after August 1st

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

No branches or pull requests

2 participants