Learning Simulation Control in General Game-Playing Agents