Function gomoku_core::get_captures [] [src]

pub fn get_captures(
    grid: &Grid,
    (x, y): Position,
    color: Color
) -> Directions<bool>

Get all possible captures at pos for the given color.