示例#1
0
        List <ProbableMove> Probables(Game game)
        {
            var M = new NextMoveAction();
            var R = new Runner2(game.Board);
            var x = R.Probables();

            return(x.Take(3).ToList <ProbableMove>());
            //return x;
        }
示例#2
0
        static void Main(string[] args)
        
            {
                var runner = new Runner();
            var runner2 = new Runner2();
            var siteUrl = ConfigurationManager.AppSettings["SiteUrl"];
                var waitTime = int.Parse(ConfigurationManager.AppSettings["WaitTime"]);

            //Task.WaitAll(runner.HitSite(siteUrl,waitTime));
            Task.WaitAll(runner2.HitSite("http://citatallerapi.azurewebsites.net/api/dmsconfig?format=json", 30));
            }