def check_winning(self):
    flag = True
    for x in range(self.size):
        for y in range(self.size):
            if ((self.board_data[y][x] == ' ◌ ') and (self.mine_board[y][x] != '◉')):
                flag = False
    return flag
def check_winning(self):
    flag = True
    for x in range(self.size):
        for y in range(self.size):
            if ((self.board_data[y][x] == ' ◌ ') and (self.mine_board[y][x] != '◉')):
                flag = False
    return flag