AI begins evaluating next action right away (evals 2 actions per frame) so that by time 300ms is over the AI has hopefully come up with next action. If not, at least it got 300ms head start. Considering using Date.now to greedily evaluate as far as possible in 0.025 seconds