menu
chessjs package
documentation
chess.dart
Chess
kingAttacked method
kingAttacked method
dark_mode
light_mode
kingAttacked
method
bool
kingAttacked
(
Color
color
)
Implementation
bool kingAttacked(Color color) { return attacked(swapColor(color), kings[color]); }
chessjs package
documentation
chess
Chess
kingAttacked method
Chess class