Пример #1
0
 // all pawns that are blocked by the opponent's pawns
 public ulong DownRam(PawnBitBoard opponentPawns)
 {
     return(BitBoardHelper.ShiftNorthOne(this.board) & opponentPawns.board);
 }
Пример #2
0
 // all pawns that are blocked by the opponent's pawns
 public ulong DownRam(PawnBitBoard opponentPawns)
 {
     return BitBoardHelper.ShiftNorthOne(this.board) & opponentPawns.board;
 }
Пример #3
0
 // all pawns that are blocked by the opponent's pawns
 public ulong UpRam(PawnBitBoard opponentPawns)
 {
     return(BitBoardHelper.ShiftSouthOne(opponentPawns.board) & this.board);
 }
Пример #4
0
 // all pawns that are blocked by the opponent's pawns
 public ulong UpRam(PawnBitBoard opponentPawns)
 {
     return BitBoardHelper.ShiftSouthOne(opponentPawns.board) & this.board;
 }