예제 #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++;
            }
        }