Description Usage Arguments Value Author(s)
View source: R/bits_to_square.R
Given a bitboard representation, find which square a piece is occupying.
1 | bits_to_square(bitboard, split = FALSE)
|
bitboard |
A bitboard representation, which is a 64 binary vector. |
split |
If true, also returns the square's rank and file. |
A list with the square associated with the bitboard.
Eduardo Kapp
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.