コード例 #1
0
        static void Main(string[] args)
        {
            var input = "";

            GameOfLife game = new GameOfLife(new TextFileReader(), new OutputWriter());

            while (input != "q")
            {
                input = Console.ReadLine();
                game.Step();
            }
        }