My goal is to execute a function on a periodic time interval but with a high period. The code linked below seemed very promising: https://medium.com/greedygame-enginee