To what extent are we allowed to modify main and FishFrame? I thought of an implementation that is easier to debug and can keep track and display all entities without the need to iterate through every possible coordinate.
It requires removing the nested for-loops that iterate through the coordinates and I am afraid that it may fail autotesting or is a too big of a change. Other methods like addEntity and getEntity can be presevered though.
Thanks