input: Write a function to implement a decision-making algorithm for the rock-paper-scissors game using Python. The function should take two inputs representing the choices of Player 1 and Player 2, and it should return the outcome of the game. If both players choose the same option, the game is a draw. Otherwise, determine the winner based on the standard rules of rock-paper-scissors.
  def play_game(player1, player2):
      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!'
  
  assert play_game('rock', 'scissors') == 'Player 1 wins!'
  assert play_game('paper', 'rock') == 'Player 1 wins!'
  assert play_game('scissors', 'paper') == 'Player 1 wins!'
  assert play_game('rock', 'paper') == 'Player 2 wins!'
  assert play_game('paper', 'scissors') == 'Player 2 wins!'
  assert play_game('scissors', 'rock') == 'Player 2 wins!'
  assert play_game('rock', 'rock') == 'It is a draw!'
output: def play_game(player1, player2):
      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!'