protected function execute(InputInterface $input, OutputInterface $output) { $output->writeln('---------------------------'); $output->writeln('Welcome to the game of life'); $output->writeln('---------------------------'); $dimension = $input->getArgument('dimension'); $universe = new Universe($dimension); $universe->buildRandomUniverse(); while (true) { echo $universe->paint(); $universe->envolve(); } }