[board] Implement PawnMoveGenerator
It generates pawn moves with bitboard bit operations!
This commit is contained in:
parent
65a7bec5f9
commit
852b7a848f
4 changed files with 183 additions and 1 deletions
|
|
@ -14,7 +14,9 @@ macro_rules! sq_constructor {
|
|||
}
|
||||
|
||||
impl Square {
|
||||
sq_constructor!(d5);
|
||||
sq_constructor!(e2);
|
||||
sq_constructor!(e3);
|
||||
sq_constructor!(e4);
|
||||
sq_constructor!(f5);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue