コード例 #1
0
ファイル: Game.cs プロジェクト: rhanekom/katas
        public void Run(IWorld world, int iterations)
        {
            int currentIteration = 0;

            while (currentIteration < iterations)
            {
                userInterface.Write(world.ToString());
                world = NextIteration(world);
                currentIteration++;
            }
        }