Skip to content

Conversation

@snicolet
Copy link
Member

@snicolet snicolet commented Mar 6, 2017

Syntactic sugar: helper functions to count material or pieces for both sides.

No functional change (same MD5 signature as current master).

Syntactic sugar: helper functions to count material or pieces for both
sides.

No functional change (same MD5 as current master).
@snicolet
Copy link
Member Author

snicolet commented Mar 6, 2017

We already do something similar for bitboards:
pos.pieces(PAWN) is a shortcut for pos.pieces(PAWN, WHITE) | pos.pieces(PAWN, BLACK).

@zamar zamar closed this in c3d2e6a Mar 9, 2017
MichaelB7 pushed a commit to MichaelB7/Stockfish that referenced this pull request Apr 23, 2020
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

Successfully merging this pull request may close these issues.

1 participant