Text this: Optimal investment game for two regulated players with regime switching