• The main reason to use the bitboard over other representations is speed , but there are tradeoffs .

    棋盘压倒其他表示方法主要理由速度其中有权衡。

    youdao

  • To access one square of a bitboard required only a few bit-operations, which languages like C handled well.

    访问一个位棋盘中的某个矩形需要作少量位运算,用C语言可以很好的处理。

    youdao

  • 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.

    然后,若断定一些步伐会自己黑棋子阻挡,可以获取一个记录所有黑棋的位棋盘,求操作Not),然后把它的黑马步法位棋盘做运算(AND)。

    youdao

  • 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.

    然后,若断定一些步伐会自己黑棋子阻挡,可以获取一个记录所有黑棋的位棋盘,求操作Not),然后把它的黑马步法位棋盘做运算(AND)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定