input: 
  from typing import Any, Dict, Tuple
  
  def play_game(player1: str, player2: str) -> str:
      """Implements a decision-making algorithm for the rock-paper-scissors game.
      The rules are as follows:
      - Rock beats Scissors
      - Scissors beats Paper
      - Paper beats Rock
      The function will return the result of the game between player1 and player2.
      >>> play_game('rock', 'scissors')
      'Player 1 wins!'
      >>> play_game('scissors', 'scissors')
      'It is a draw!'
      >>> play_game('paper', 'rock')
      'Player 1 wins!'
      >>> play_game('rock', 'paper')
      'Player 2 wins!'
      """
      rules: Dict[str, str] = {'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:     else:
          return 'Invalid input!'