Online Algorithms for Configuration Games