tests/test_rules.py
def put_cells_to_board(coords: List[Tuple[int, int]]) -> np.ndarray:
    """Given a list of cells and their coords, add to board"""
    board = np.zeros((3, 3))
    for coord in coords:
        board[coord] = 1
    return board
Given a list of cells and their coords, add to board
Given a list of cells and their coords, add to board
Given a list of cells and their coords add to board
def put_cells_to_board(coords: List[Tuple[int, int]]) -> np.ndarray:
    board = np.zeros((3, 3))
    for coord in coords:
        board[coord] = 1
    return board
def put_cells_to_board ( coords : List [ Tuple [ int , int ] ] ) -> np . ndarray : board = np . zeros ( ( 3 , 3 ) ) for coord in coords : board [ coord ] = 1 return board
Given a list of cells and their coords, add to board
Given a list of cells and their coords add to board
"""Given a list of cells and their coords, add to board"""
coords
List[Tuple[int, int]]