// Update is called once per frame
    void Update()
    {
        if (Request.Length > 0)
        {
            string answ = "";
            Answer  = Engine1.GetNextMove(Request, null, Deep);
            Request = "";
            if (Answer.Length > 0)
            {
                answ = Answer.Substring(0, 2) + "-" + Answer.Substring(2, 2);
            }
            if (Answer.Length > 4)
            {
                answ += "=" + (Answer.Substring(4, 1)).ToUpper();
            }
            ((TextMesh)GetComponent(typeof(TextMesh))).text = answ;

            //Application.ExternalCall("JSAnswer", answ);

            (GameObject.Find("Script2")).SendMessage("EngineAnswer", answ);
        }
    }