The paper describes the design of artificial life simulation and it explores the evolution of parental investment, depending on the parameters of the world.