Closed kalebburnham closed 4 years ago
https://www.chessprogramming.org/Pawn_Pushes_(Bitboards)
This link includes example source code.
Single Pawn Pushes - commit 562cdef51d04bf0ec2973082b183505009eae741
Double Pawn Pushes - commit 3939733a0a2b1cebb4fbda0111fb17c2fc1fdd88
En Passant moves will be considered in a separate Issue.
https://www.chessprogramming.org/Pawn_Pushes_(Bitboards)
This link includes example source code.