Example #1
0
        static void Main(string[] args)
        {
            var paths = new List <string>(args);

            using (DummyGame dummy = new DummyGame(paths)) {
                dummy.Run();
            }
        }
Example #2
0
        static void Main(string[] args)
        {
            var    paths = new List <string>(args);
            string input;

            while (true)
            {
                input = Console.ReadLine();
                if (input != null && input.Length > 1)
                {
                    paths.Add(input);
                }
                else
                {
                    break;
                }
            }
            using (DummyGame dummy = new DummyGame(paths)) {
                dummy.Run();
            }
        }