The main matriarch fish will make 2 eggs every second. Within 10 seconds, those eggs will hatch. This will reveal colored fish. If a fish is lucky enough, it will have the ability to grow into a matriarch and lay 10 to 50 eggs before it becomes vulnerable to the shark. If a fish grows, it will be unable to be eaten by the shark. Anytime a fish touches the shark's teeth, it will die and be eaten. The variable "x" is equal to the number of fish in the aquarium. If x>25, all of the small fish will go towards the purple fish
This was a project for my Computer Science class Music is by george frederic handel (hornpipe and la rejouissance) If you have any suggestions as to what the purple fish should do, let me know in the comments