[General boards] [Winter 2019 courses] [Fall 2018 courses] [Summer 2018 courses] [Older or newer terms]

Following fish delay issue


#1

According to the main logic, the entity array is processed top-left to bottom-right. If the following fish is processed after the fish it is following, the following pattern would synchronize with that fish’s movement this turn. However, if the following fish happens to be processed before it, it would actually be following that fish’s movement from last turn.

Should this be a concern or should it be ignored? If it should be considered, can I manually update the fish’s movement before updating the following fish’s?


#2

For the purpose of grading, we will manually call your “update()” method on the following fish after having moved the fish (or kept it still, see the existing test) – I guess you can edit the main method to have this behavior, but it will not be graded.