Question
Objective of the project : Representation in java the duck pond model. The pond will be represented as a body of water with rocks and
Objective of the project : Representation in java the duck pond model. The pond will be represented as a body of water with rocks and water lilies (nun. Ducks born, live and die in the pool. The water lilies grow back randomly in the pond. When a duck borns (it is first small), it moves in the pond and when it meets a water lily, it eats it and when it eats, the duck grows. If a duck does not eat after a certain time (to be defined), it will lose weight and if it continues to lose weight it will eventually die. Conversely, a duck that eats a lot, gets bigger and by getting bigger it eventually becomes a head duck, in which case it changes color. A chief duck is the only one that whistles and the other ducks line up behind him in single file. Java program to make this duck pond, with all the requested features with various scenarios : pond, water lilies, ducks, rirth, growth, color change, death The developments and scenarios will therefore have to be designed.
This is the subject i need to display random images in the square but i don't know.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started