Implement java program using inheritance and polymorphism
$10-30 USD
Completed
Posted over 6 years ago
$10-30 USD
Paid on delivery
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.
Hello, if yo u want i can do this with UI and simple graphics too, long with console printing. in just 1 day.
Relevant Skills and Experience
java , software architecture, software development, java-swing.
Proposed Milestones
$26 USD - all deliverable are up to your satisfaction level
Additional Services Offered
$1 USD - documentation up to 2 pages.
$26 USD in 1 day
4.7 (2 reviews)
1.9
1.9
11 freelancers are bidding on average $27 USD for this job
hi...i am good at writing java object oriented programs. i can help you complete the inheritance program in Java as per specs.
Relevant Skills and Experience
I have over 10 years of java OO programming knowledge and skills.
Proposed Milestones
$35 USD - Java Inheritance
When do you need the complete project?
Hi,
Please consider us for this project. As we have successfully finished many projects for my client at here and outside.
Relevant Skills and Experience
We have 6 years of experience in software development , Web development and maintenance of business App.
Proposed Milestones
$25 USD - after delivery
Please assign this project to me so that we can start it.