code: def _summary(obs, view, width):
      s = " %s: p%s; step: %s; money: %s, %s; food: %s/%s " % (
          view,
          obs.player.player_id,
          obs.game_loop[0],
          obs.player.minerals,
          obs.player.vespene,
          obs.player.food_used,
          obs.player.food_cap,
      )
      return s.center(max(len(s) + 6, width), "-")
  
imports: from pysc2.lib import units
label_desc: Use image node_id 2 for calling a global function with example usage: _summary(obs, view, width) and returns: s