The main reason to use the bitboard over other representations is speed , but there are tradeoffs .
位棋盘压倒其他表示方法的主要理由是速度,但其中也有权衡。
2
To access one square of a bitboard required only a few bit-operations, which languages like C handled well.
访问一个位棋盘中的某个矩形只需要作少量位运算,用C语言就可以很好的处理。
3
Then, to decide which moves are blocked by Black's own pieces, you take a bitboard of all of Black's pieces, take the complement (the NOT operator) and then AND it to your knights' moves bitboard.