For my computer programming class I am required to alter the little crab scenario to make it so when a worm is eaten, a new one appears at a random location and I do not know how I would do that. Any advice?


1 2 3 4 | if (canSee(Worm. class )) { eat(Worm. class ); } |