input: 
  def play_game(player1: str, player2: str) -> str:
      """Implement a decision-making algorithm for a rock-paper-scissors game.
      The function takes two player choices (rock, paper, or scissors) and determines
      the winner based on predefined rules. If both players choose the same option,
      it is a draw.
      >>> play_game('rock', 'scissors')
      'Player 1 wins!'
      >>> play_game('paper', 'paper')
      'It is a draw!'
      >>> play_game('scissors', 'rock')
      'Player 2 wins!'
      """
      rules = {'rock': 'scissors', 'scissors': 'paper', 'paper': 'rock'}
      if player1 == player2:
          return 'It is a draw!'
      elif rules[player1] == player2:
          return 'Player 1 wins!'
      elif rules[player2] == player1:
          return 'Player 2 wins!'
  
output:     rules = {'rock': 'scissors', 'scissors': 'paper', 'paper': 'rock'}
      if player1 == player2:
          return 'It is a draw!'
      elif rules[player1] == player2:
          return 'Player 1 wins!'
      elif rules[player2] == player1:
          return 'Player 2 wins!'