Exemplo n.º 1
0
        private static void MinimusMaximus_Vs_MonteusCarlus()
        {
            Console.WriteLine("MinimusMaximus vs MonteusCarlus:");
            Console.WriteLine($"  MinimusMaximus - Blue");
            Console.WriteLine($"  MonteusCarlus - Red");
            Console.WriteLine();

            var minimusMaximus = new MinimusMaximus.TronBot();
            var monteusCarlus  = new MonteusCarlus.TronBot();

            var statistics = Duel.RunMultipleParallel(minimusMaximus, monteusCarlus, TronString.Create(), 100);

            Console.WriteLine(statistics);
            Console.WriteLine();
        }
Exemplo n.º 2
0
        private static void MinimusMaximus_Vs_RandBot()
        {
            Console.WriteLine("MinimusMaximus vs RandBot:");
            Console.WriteLine($"  MinimusMaximus - Blue");
            Console.WriteLine($"  RandBot - Red");
            Console.WriteLine();

            var minimusMaximus = new MinimusMaximus.TronBot();
            var randBot        = new RandBot.TronBot();

            var statistics = Duel.RunMultipleParallel(minimusMaximus, randBot, TronString.Create(), 100);

            Console.WriteLine(statistics);
            Console.WriteLine();
        }