def initCtrl(size):
    """Init array usefull to check the diagionales and the lines

    Args:
      size (int): size of the board

    Returns:
      [array]: ctrl_line
      [array]: ctrl_oblique
      [array]: ctrl_obliqueinv
    """

    x = 2 * size - 1
    ctrl_oblique = [False] * x
    ctrl_obliqueinv = [False] * x
    ctrl_line = [False] * size

    return ctrl_line, ctrl_oblique, ctrl_obliqueinv