I have done 1-5 as well as 9. I know that it will be the same for 5-8 as 9-12. I just need help knowing how to do it the first time. If there is ANYTHING you can do to help me out, I'd appreciate it.
R01. At start time, 5 crab are placed randomly in the crab world (use loops).
R02. At start time, 2 lobsters are placed randomly in the crab world (use loops).
R03. At start time, 50 worms are placed randomly in the crab world (use loops).
R04. The crab and the lobsters move in random directions each time they move.
R05. Set the crab initial worms eaten to a random number from 5 to 27 (energy).
R06. Once the crab has eaten 10 worms, the crab is full and cannot eat more worms.
R07. At every move, the crab will lose 1/20 of a worm (energy).
R08. When the crab runs out of energy it cannot move and dies (removed from the world).
R09. Set the Lobster initial crabs eaten to a random number from 10 to 39 (energy).
R10. Once the Lobster has eaten 20 crabs, the Lobster is full and cannot eat more crabs.
R11. At every move, the Lobster will lose 1/40 of a crab (energy).
R12. When the Lobster runs out of energy it cannot move and dies (removed from the world).
R13. Stop the game once all the Worms, or Crabs, or Lobsters’ numbers (population) reaches zero.