def get_stag_hunt_host_speech(num_players: int) -> str:
  """Generate the host's speech for the stag hunt minigame."""
  host_speech = [(
      "Holy smokes, contestants! It's time to test your grit in a challenge "
      "that'll separate the men from the boys!  I'm talkin' about our next "
      "minigame: **The Barn Raising!**\nNow listen up, you whippersnappers! "
      "You'll be teamed up and put to work on building a barn. Your mission, "
      "should you choose to accept it, is to raise that barn before the sun "
      "sets.  But here's the catch:  You gotta decide how much muscle you're "
      "gonna put into it.  Work like a dog, and you *might* just finish in "
      "record time... but only if your teammates are pullin' their weight!  "
      "It's a risky strategy, and let me tell ya, it'll leave you sweatin' "
      "like a pig. Or, you can take it easy, and hope everyone else does the "
      "heavy lifting.  Might not get ya done fast, but hey, at least you'll "
      "have the energy for a soda pop afterwards!  The choice is yours!  Just "
      "remember, this ain't no picnic.  We're gonna be buildin' till the "
      "cows come home!  So, here's how the points are tallied:"
  )]
  all_cooperators_earn = stag_hunt_schelling_diagram.cooperation(
      num_players
  )
  host_speech.append((
      '* **If everyone works hard,** you all finish fast, raise the barn, '
      f'and earn {all_cooperators_earn} points each!'
  ))
  d = 0
  for c in range(num_players - 1, 0, -1):
    d += 1
    cooperators_earn = stag_hunt_schelling_diagram.cooperation(c)
    defectors_earn = stag_hunt_schelling_diagram.defection(c)
    if d == 1:
      host_speech.append((
          f'* **If {c} of you work hard, and {d} slacks off,** the hard '
          f'workers get {cooperators_earn} each (all that effort for '
          f'little gain!), while the slacker gets {defectors_earn}.'
      ))
    else:
      host_speech.append((
          f'* **If {c} of you work hard, and {d} others slack off,** the '
          f'hard workers get {cooperators_earn} each, while the slackers '
          f'get {defectors_earn} each.'
      ))

  all_defectors_earn = stag_hunt_schelling_diagram.defection(0)
  host_speech.append((
      '* **And if everyone decides to slack off,** you all save energy but '
      f'the barn doesn\'t get built, earning {all_defectors_earn} points '
      'each.'
  ))
  host_speech.append((
      'So, the question is: can you trust your teammates to put in the work '
      'for a job well done, or will you play it safe and slack off, risking '
      'failure?\n'
      'The choice is yours! Now, grab those hammers and let\'s see some '
      'action!'
  ))
  return '\n'.join(host_speech)
Generate the host's speech for the stag hunt minigame.
examples/deprecated/modular/environment/modules/circa_1955_american_reality_show.py