Checks the population of fish against a minimum population.
If the population > minimum population, sets the oldest fish to die, if the oldest fish exceeds the minimum age to be alive for.
Things to check and/or fix: Setting an appropriate values for the minimum population and after what age a fish can die.
For sending the fishes off to die, I believe what I have done is slightly naive and probably there's a better way of doing it? Feel free to change, or let me know a better method to implement and I shall get it done.
Does these things:
Things to check and/or fix: Setting an appropriate values for the minimum population and after what age a fish can die.
For sending the fishes off to die, I believe what I have done is slightly naive and probably there's a better way of doing it? Feel free to change, or let me know a better method to implement and I shall get it done.