Really need help with 3 through 6. Little Crab book scenario.
1. Automatically populate the world with 50 Worms and 5 Crabs, all randomly placed.
2. Set the initial worms eaten (on the Crabs) to a random number between 10 and 20.
3. If a Crab has eaten 10 or more Worms, it cannot eat any more Worms.
4. If a Crab has eaten less than 10 Worms, it can continue eating more Worms.
5. Each time a Crab moves, it uses 1/40 of a Worm worth of energy.
6. Once a Crab has reached zero Worms eaten, it dies and disappears from the world.
7. The Crabs shall move in a random pattern and eat Worms.
8. The Worms shall pop in and out of their holes in a randomly realistic manner.