Update sprite resources, move snake periodically, spawn raspberry in random position