Ejemplo n.º 1
0
 public AIEngine(ChessAIPlayer p, OtherGame g)
 {
     CalculateToDepth    = p.RunDepth;
     player              = p;
     game                = g;
     _principalVariation = new Move[100];
 }
Ejemplo n.º 2
0
    private void OpenGameAtStore()
    {
        _chosenGame = otherGames[_chosenIndex];
        if (_chosenGame.Equals(null)) return;

        string url;
        #if UNITY_ANDROID
        url = _chosenGame.AndroidUrl;

        #elif UNITY_IOS
           url = _chosenGame.IOSUrl;
        #endif
        if (!url.Equals(string.Empty))
        {
            Application.OpenURL(url);
        }
    }