menu
bishop package
documentation
bishop.dart
BoardSize
rank method
rank method
dark_mode
light_mode
rank
method
int
rank
(
int
square
)
Returns that file that
square
is on.
Implementation
int rank(int square) => v - (square ~/ (h * 2)) - 1;
bishop package
documentation
bishop
BoardSize
rank method
BoardSize class