Update game loop to be the same as it is in its own repo