input: 
  from typing import List
  
  def tic_tac_toe_game(moves: List[int]) -> str:
      """Simulate a Tic Tac Toe game given a list of moves made by alternating players starting with player 'X'.
      Each move is represented by an integer from 1 to 9, corresponding to the board positions.
      The game ends when either player wins or the board is full resulting in a tie.
      Return a string indicating the result of the game ('X Wins!', 'O Wins!', or 'It's a tie!').
      
      Example:
      >>> tic_tac_toe_game([1, 2, 3, 4, 5, 6, 7, 8, 9])
      'X Wins!'
      >>> tic_tac_toe_game([1, 2, 3, 4, 5, 6, 7, 9, 8])
      'O Wins!'
      """
      board = [" " for i in range(9)]
  
      def print_board():
          row1 = "| {} | {} | {} |".format(board[0], board[1], board[2])
          row2 = "| {} | {} | {} |".format(board[3], board[4], board[5])
          row3 = "| {} | {} | {} |".format(board[6], board[7], board[8])
          print()
          print(row1)
          print(row2)
          print(row3)
          print()
  
      def player_turn(icon, move):
          board[move - 1] = icon
  
      def is_victory(icon):
          return (board[0] == icon and board[1] == icon and board[2] == icon) or \
                 (board[3] == icon and board[4] == icon and board[5] == icon) or \
                 (board[6] == icon and board[7] == icon and board[8] == icon) or \
                 (board[0] == icon and board[3] == icon and board[6] == icon) or \
                 (board[1] == icon and board[4] == icon and board[7] == icon) or \
                 (board[2] == icon and board[5] == icon and board[8] == icon) or \
                 (board[0] == icon and board[4] == icon and board[8] == icon) or \
                 (board[2] == icon and board[4] == icon and board[6] == icon)
  
      for index, move in enumerate(moves):
          if index % 2 == 0:
              player_turn("X", move)
              if is_victory("X"):
                  return "X Wins!"
          else:
              player_turn("O", move)
              if is_victory("O"):
                  return "O Wins!"
      if not " " in board:
          return "It's a tie!"
  
output:     
      if not " " in board:
          return "It's a tie!"
  