JAVA
The goal for this programming project is to create a simple 2Dpredator–prey
simulation. In this simulation, the prey is ants, and the predatorsare doodlebugs.
These critters live in a world composed of a 20 20 grid of cells.Only one critter
may occupy a cell at a time. The grid is enclosed, so a critter isnot allowed to move
off the edges of the grid. Time is simulated in time steps. Eachcritter performs
some action every time step.
The ants behave according to the following model:
• Move. Every time step, randomly try to move up, down, left, orright. If the
cell in the selected direction is occupied or
PayPal Gateway not configured
PayPal Gateway not configured