Question: please do it in java and also send a screenshot of the program running Create class Carnivore,Herbivore and Plant. Carnivore and Herbivore need energy to

please do it in java and also send a screenshot of theplease do it in java and also send a screenshot of the program running

Create class Carnivore,Herbivore and Plant. Carnivore and Herbivore need energy to survive. Carnivore eats Herbivore and Herbivore eats Plant to get energy Moving and reproduction consumes energy. Carnivores and Herbivores will reproduce a newborn if they are on a certain age and certain level of energy. The child will be placed next to the parent The simulation environment is a 2D grid (nxn cells). Plants grow at random time, random locations. Herbivores and Carnivores can move to North, South, East, West. Setup a 16 x 16 grid, initialize it by random numbers of Carnivore, Herbivore and Plants. Run it for a specific numbers of iterations (32 is the min). Print the result for each iteration on the console. Carnivore char: @ Herbivore char: & Plant char: # Free space char: - You should be completely object oriented Create class Carnivore,Herbivore and Plant. Carnivore and Herbivore need energy to survive. Carnivore eats Herbivore and Herbivore eats Plant to get energy Moving and reproduction consumes energy. Carnivores and Herbivores will reproduce a newborn if they are on a certain age and certain level of energy. The child will be placed next to the parent The simulation environment is a 2D grid (nxn cells). Plants grow at random time, random locations. Herbivores and Carnivores can move to North, South, East, West. Setup a 16 x 16 grid, initialize it by random numbers of Carnivore, Herbivore and Plants. Run it for a specific numbers of iterations (32 is the min). Print the result for each iteration on the console. Carnivore char: @ Herbivore char: & Plant char: # Free space char: - You should be completely object oriented

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!