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