Esempio n. 1
0
        public override bool Test()
        {
            PRINT = true;
            var game = new CrabCups("389125467");

            game.Play(100);
            var  res           = game.GetResult();
            bool testSucceeded = res == "67384529";

            return(testSucceeded);
        }
Esempio n. 2
0
        public override string First()
        {
            string        filename = GetFilename();
            List <string> input    = System.IO.File.ReadAllLines(filename).ToList();

            PRINT = true;
            var game = new CrabCups("712643589");

            game.Play(100);
            var res = game.GetResult();

            return(res.ToString());
        }