This was our first experiance with object oriented programming.

Fish and Sharks

The final goal was to create a simulation called fish and sharks, with the objective to have a working eco system. Fish would move every turn or breed every certain cycle as specified into a random adjacent square. Sharks would priorities to eat a random fish around them, if no fish then they would breed if it was a breed cycle, else they would move to a random ajacent square. If sharks did not eat anything in a number of turns they would starve and die. Our focus was to make is efficient and without any leaks which we achieved. The reason the simulation runs slow is because of the graphics library we're using and not due to the calculations.