def get_shared_memories_and_context(
    sampled_settings: Any,
) -> tuple[Sequence[str], str]:
  """Return the shared memories and context for all agents and game master."""
  shared_memories = [
      f'{sampled_settings.event} is on.',
      'Games are best watched in pubs with a lot of friends.',
  ]
  shared_context = (
      f'The year is {sampled_settings.year}. The place is'
      f' {sampled_settings.location}. {sampled_settings.event} is on.\n'
  )
  return shared_memories, shared_context
Return the shared memories and context for all agents and game master.
examples/deprecated/modular/environment/pub_coordination.py