I am new in programming. I have an assignment with 8 questions. I did the first four, by spending the last 48 hours by trying to figure it out, but I am clueless on the other four I should say the other 3. I really need help. I really did tried. I read similar questions in the forum, but it didn't help. Thank you very much.
-Each time a Crab moves it uses 1/20 of a Worm worth of energy.
-Once a Crab has reached zero Worms eaten, it dies and disappears from the world.
-The Crabs shall move in a random pattern (without key controls) and eat Worms. (This I think I can do it)
-Stop the game once all the Worms have been eaten or all the Crabs have died.



