I have several java programming homework assignments that I need help with. The assignments all build on each other so since I'm struggling with the initial assignment I am having issues with all that follow. Below are the assignments listed, please quote me what you would charge for help with these assignments
Create an Earth class, an Animal class and a Test class.
Earth dimensions are 8 X 8.
There are three obstacles on the earth (Character "O").
There are three animals on the earth (Character "C")
Write the artificial intelligence program to draw such an environment for some iterations. Each iteration is a time and in each iteration the earth and location of animals will change.
You are not allowed to use any arrays.
This homework is like homework 5, in this homework you need to draw the earth and it should be an 16 x 16 places.
This time you need to have all the locations of the earth in one dimensional array. At the beginning there are some animals and some plants (C and *). The animals can move and they can eat plants if their energy is lower than some level. There are some water resources (W) and there are some obstacles (O). Animals can move and they can eat the plants and go to the location of plants. They may drink water (but not go to the water) if they are near a water resource and need water. Animals will die if they are too old and they will produce another animals if their energy level is good and they are of certain age. Plants will last longer than animal and their production is random on the earth. If animal do not receive resources then they will die (You may draw young animals with 'c'). The obstacles (O) other animals and plants and water resources are not movable.
The only thing you need is the random function. Math.Random(); will produce a random number between 0 and 1.
You need to keep a nice lifecycle for 25 cycles. After that everything must be nice. Draw all the cycles within a for loop.
Try to fill out all the locations on the earth in a two dimentional array. Try to initialize the energy of animals with some variance from the initial energy (For example if the initial energy is MaxEnergy / 2 then some animal may have ((MaxEnergy / 2) + Epsilon). Try to do the same thing for increase and decrease of energy in the entire earth. Try to give different initial age to all the animals based on the some random (for example age of animal is a random number between MaxAge and (1-Epsilon) MaxAge).
Try to put different increase of energy for different object of animals.
Try to one method that you think animals neet to have (Any method that you want).
Try to extent your Artificial Life program and make two new class, Mountain Lion and Deer to your program. Lion eats Deer and Deer eats vegetable. Both of them are Animals.
Extend your artificial life algorithm. This time you need to have a Vector to store animals. If there is a new animal then you just need to add that to your vector. If some animal dies you need to remove that from the vector.
|Due By (Pacific Time)
||05/23/2014 12:00 am