"""Starts the Simulation. Creates a World-, WorldController- and CommandInterpreter Object. Gets User\ input and calls CommandInterpreter.unteroret_command() with it. """ from CommandInterpreter import CommandInterpreter from World import World from WorldController import WorldController from copy import copy from random import random from Corn import Corn # main world = World(79, 29, 6, 12, 7, 25) world_controller = WorldController(world) command_interpreter = CommandInterpreter(world_controller) runProgram = True world_controller.printWorld() while(runProgram): input_string = input("Enter command <h> for help, <Return> for next cycle)\ >>") runProgram = command_interpreter.interpret_command(input_string)