Exemple #1
0
        static void Main(string[] args)
        {
            var service = new MainService();

            // TODO : 実行時にユーザーが画面で指定する情報
            var param = new SimulationParam()
            {
                Deck = new ICardInfo[]
                {
                    new Copper(),
                    new Copper(),
                    new Copper(),
                    new Copper(),
                    new Copper(),
                    new Copper(),
                    new Copper(),
                    new Estate(),
                    new Estate(),
                    new Estate(),
                    new Smithy()
                    {
                        Priority = 1
                    },
                    new Smithy()
                    {
                        Priority = 1
                    },
                    new Smithy()
                    {
                        Priority = 1
                    },
                    new Village()
                    {
                        Priority = 2
                    },
                    new Village()
                    {
                        Priority = 2
                    },
                    new Village()
                    {
                        Priority = 2
                    },
                    new Village()
                    {
                        Priority = 2
                    },
                    new Village()
                    {
                        Priority = 2
                    },
                },
                Count           = 20,
                IsShowAllResult = true
            };

            service.Exec(param);

            Console.WriteLine("終了。Press Any Key.");
            Console.ReadKey();
        }