def _configure_default_scenes(
    names: Sequence[str]) -> Sequence[scene_lib.SceneSpec]:
  """Configure default scenes for a simulation based on Oedipus Rex."""
  decision = scene_lib.SceneTypeSpec(
      name='decision',
      game_master_name=DEFAULT_NAME,
      action_spec=entity_lib.choice_action_spec(
          call_to_action=(
              'Would {name} continue to investigate the truth of their birth?'),
          options=['Yes', 'No'],
      ),
  )

  scenes = [
      scene_lib.SceneSpec(
          scene_type=decision,
          participants=names,
          num_rounds=3,
          premise={
              name: [
                  (
                      'The city of Thebes is suffering from a devastating'
                      ' plague, leading its desperate citizens to appeal to'
                      ' their revered ruler for a solution. The ruler, having'
                      ' previously saved Thebes from the Sphinx, reveals that'
                      ' their brother-in-law has been sent to the Oracle of'
                      ' Delphi to discover the cause of the affliction and'
                      ' how to end it.'
                  ),
                  (
                      'A shepard arrives and reveals that, many years ago, in '
                      'order to escape a prophecy in which a royal child was '
                      'fated to kill his father, a messenger gave him an '
                      'infant to dispose of. But, he did not follow through; '
                      'instead he brought the infant to the house of Polybus.'
                  ),
              ]
              for name in names
          },
      ),
  ]
  return scenes
Configure default scenes for a simulation based on Oedipus Rex.
concordia/prefabs/game_master/game_theoretic_and_dramaturgic.py