Exemple #1
0
        static void Main(string[] args)
        {
            InputByUser iu = new InputByUser();

            Console.WriteLine("Welcome to Game Of Life");
            Console.WriteLine("Enter Fields heigth ");
            int x = iu.ValidateUserInput();

            Console.WriteLine("Enter Fields width ");
            int y = iu.ValidateUserInput();

            GamesController gc = new GamesController();

            Thread trd = new Thread(() => gc.Actions(x, y));

            trd.Start();
        }