chess:programming:bitboards
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
chess:programming:bitboards [2021/10/12 13:06] – [Determine Squares which are set both BitBoards] peter | chess:programming:bitboards [2021/10/29 00:56] (current) – peter | ||
---|---|---|---|
Line 2: | Line 2: | ||
A BitBoard is comprised of a 64-bit word, which is used to store the positions of different Chess Pieces. | A BitBoard is comprised of a 64-bit word, which is used to store the positions of different Chess Pieces. | ||
+ | |||
+ | < | ||
+ | 8 0 0 0 0 0 0 0 0 | ||
+ | 7 0 0 0 0 0 0 0 0 | ||
+ | 6 0 0 0 0 0 0 0 0 | ||
+ | 5 0 0 0 0 0 0 0 0 | ||
+ | 4 0 0 0 0 0 0 0 0 | ||
+ | 3 0 0 0 0 0 0 0 0 | ||
+ | 2 0 0 0 0 0 0 0 0 | ||
+ | 1 0 0 0 0 0 0 0 0 | ||
+ | a b c d e f g h | ||
+ | </ | ||
Every square on a Chess Board is represented by one bit in the 64-bit word. | Every square on a Chess Board is represented by one bit in the 64-bit word. |
chess/programming/bitboards.1634044015.txt.gz · Last modified: 2021/10/12 13:06 by peter