Question: Using ALICE 2.4.3 create this program Legend has it that dragons are distant relatives of chickens. We are not surprised, then, that a favorite pastime
Using ALICE 2.4.3 create this program
Legend has it that dragons are distant relatives of chickens. We are not surprised, then, that a favorite pastime of dragons was a game of chicken. The scene below shows a world with four dragons (Medieval) carefully placed in a diamond like pattern (similar to baseball players at the four bases). Create a simulation of a game of chicken where any two dragons face each other and fly upward to a slightly different height above the ground. Then the dragons fly toward each other, nearly missing one another. Each dragon should land in the position where the other dragon was located. That is, the two dragons trade places. Your simulation should use a method named dragonFlight that has four parametersthe two dragons that will face off in a game of chicken and the height for each dragons flight.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
