Search found 1 match
- Mon Aug 03, 2015 5:19 pm
- Forum: Programming and Technical Discussions
- Topic: How do i know which bitboard to update after a move ?
- Replies: 2
- Views: 3497
Re: How do i know which bitboard to update after a move ?
If you are using Bitboards then there are only 1 and 0 ... so a compare and or an ADD, XOR operation (if you have an inline assembler e.g.) and maybe a checksum for every bitboard will do the trick to simplify the tedious checks, so that you can check which field of the bitboards has been changed ...