Exemple #1
0
        public void Check(CEngineList el)
        {
            CEngine e = el.GetEngine(engine);

            if (e == null)
            {
                engine = "Human";
                SaveToIni();
            }
        }
Exemple #2
0
        public static CEngine SelectEngine()
        {
            CEngine e = engineList.GetEngine(engine);

            if (e == null)
            {
                e = SelectRare();
            }
            if ((games >= repetition) && (games > 0))
            {
                e     = engineList.NextTournament(e);
                games = 0;
            }
            return(e);
        }