def _create_all_pairs(players):
  """Creates a list of all possible unique pairs from a list of players.

  Args:
    players: A list of player names.

  Returns:
    A list of tuples representing unique pairs of players.
  """

  pairs = []
  for i in range(len(players)):
    for j in range(i + 1, len(players)):  # Start from i+1 to avoid repetitions
      pairs.append((players[i], players[j]))
  return pairs
Creates a list of all possible unique pairs from a list of players.

  Args:
    players: A list of player names.

  Returns:
    A list of tuples representing unique pairs of players.
  
examples/deprecated/modular/environment/haggling_multi_item.py