Example #1
0
        public void StartNewGame()
        {
            //Create initial pool of fighters
            foreach (WeightClass wc in WeightClass.AllWeightClasses())
            {
                for (int f = 0; f < wc.Size; ++f)
                {
                    RegisterFighter(Fighters.CreateRandomFighter(wc.Weight));
                }
            }

            for (int j = 0; j < Constants.JUDGE_POOL_SIZE; ++j)
            {
                Agents.Add(Judge.RandomJudge(Utility.UniqueRandomName(true,
                                                                      name => !Agents.Contains(name))));
            }

            SimFights(50);
        }