コード例 #1
0
ファイル: Program.cs プロジェクト: dhoeltge/BotChallenge
        static void Main(string[] args)
        {
            Type[] bots = new Type[]
            {
                typeof(Julian1),
                typeof(Lele1),
                typeof(Dominik1),
                typeof(Niklas1),
                typeof(BummBaBumm1),
                typeof(Julian2),
                typeof(Lele2),
                typeof(Dominik2),
                typeof(Niklas2),
                typeof(BummBaBumm2),
            };

            RunManagerTournament runManager = new RunManagerTournament(typeof(EnvRockPaperScissors), bots, 2, 3, visible, OutputMode.ResultOfEveryIteration);

            runManager.Loop();

            while (true)
            {
                Console.ReadLine();
            }
        }
コード例 #2
0
        static void Main(string[] args)
        {
            //List<Type> bots = new List<Type>();
            //for (int i = 0; i < 10; i++)
            //{
            //    bots.Add(typeof(Julian1));
            //}

            Type[] bots = new Type[]
            {
                typeof(Der_Schredder1),
                typeof(Dominik2_1),
                typeof(Dominik3),
                typeof(Winner2),
                typeof(Niklas2),
                typeof(Julian2),
            };

            RunManagerTournament runManager = new RunManagerTournament(typeof(EnvSnake), bots, bots.Length, 10, true, OutputMode.ResultOfEveryIteration);


            //RunManager runManager = new RunManager(typeof(EnvSnake), bots.ToArray(), 1, visible, OutputMode.ResultOfEveryIteration);

            runManager.Loop();

            //if (!visible)
            while (true)
            {
                Console.ReadLine();
            }
        }
コード例 #3
0
ファイル: Program.cs プロジェクト: bytinggames/BotChallenge
        static void Main(string[] args)
        {
            Type[] bots = new Type[]
            {
                typeof(Dominik),
                typeof(Dominik2),
            };

            RunManagerTournament runManager = new RunManagerTournament(typeof(EnvBumper), bots, bots.Length, 10, visible, OutputMode.ResultOfEveryIteration);

            runManager.Loop();

            //if (!visible)
            Console.ReadLine();
        }
コード例 #4
0
ファイル: Program.cs プロジェクト: dhoeltge/BotChallenge
        static void Main(string[] args)
        {
            Type[] bots = new Type[]
            {
                typeof(Human),
                typeof(Rand),
                //typeof(Rand),
            };

            RunManagerTournament runManager = new RunManagerTournament(typeof(EnvShooter), bots, 2, 1, visible, OutputMode.ResultOfEveryIteration);

            runManager.Loop();

            //if (!visible)
            Console.ReadLine();
        }
コード例 #5
0
ファイル: Program.cs プロジェクト: dhoeltge/BotChallenge
        static void Main(string[] args)
        {
            Type[] bots = new Type[]
            {
                typeof(Human),
                typeof(Human),
                typeof(Human),
            };

            RunManagerTournament runManager = new RunManagerTournament(typeof(EnvPoker), bots, bots.Length, 3, VISIBLE, OutputMode.ResultOfEveryIteration);

            runManager.Loop();

            while (true)
            {
                Console.ReadLine();
            }
        }
コード例 #6
0
        static void Main2(string[] args)
        {
            Type[] bots = new Type[]
            {
                typeof(Der_Schredder1),
                typeof(Dominik2),
                typeof(Julian2),
                typeof(Niklas1),
                typeof(Winner2),
            };

            RunManagerTournament runManager = new RunManagerTournament(typeof(EnvSnake), bots.ToArray(), 2, 3, true, OutputMode.ResultOfEveryIteration);

            runManager.Loop();

            //if (!visible)
            while (true)
            {
                Console.ReadLine();
            }
        }