Exemple #1
0
        public void Run(IWorld world, int iterations)
        {
            int currentIteration = 0;

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