This is an inefficient manner of resolving this issue and could be done simultaneously. Another potential boost could be packaging the Goal state check with the goal-detection (which could also be done at the same time, if not detrimental to execution time.
Currently, the end-state check of
[Goal, Time Over, Fall Out]
are done sequentially in the following code block:This is an inefficient manner of resolving this issue and could be done simultaneously. Another potential boost could be packaging the
Goal
state check with the goal-detection (which could also be done at the same time, if not detrimental to execution time.