예제 #1
0
        static void Main(string[] args)
        {
            Grid gameOfLife = new Grid();

            gameOfLife.BaseGridSetup();
            gameOfLife.DrawGrid();
            while (true)
            {
                gameOfLife.ApplyRules();
                Console.Clear();
                gameOfLife.DrawGrid();
                System.Threading.Thread.Sleep(1000);
            }
        }