class_docstr: An Arena class where any 2 agents can be pit against each other.
class_docstr_tok: ["An","Arena","class","where","any","2","agents","can","be","pit","against","each","other","."]
docstr: Input:
      player 1,2: two functions that takes board as input, return action
      game: Game object
  
  see othello/OthelloPlayers.py for an example. See pit.py for pitting
  human players/other baselines with each other.
docstr_tok: ["Input",":","player","1,2",":","two","functions","that","takes","board","as","input",",","return","action","game",":","Game","object","see","othello\/OthelloPlayers.py","for","an","example",".","See","pit.py","for","pitting","human","players\/other","baselines","with","each","other","."]
code: def __init__(self, player1, player2, game):
      """
      Input:
          player 1,2: two functions that takes board as input, return action
          game: Game object
  
      see othello/OthelloPlayers.py for an example. See pit.py for pitting
      human players/other baselines with each other.
      """
      self.player1 = player1
      self.player2 = player2
      self.game = game
  
imports: from tqdm import tqdm
  from parl.utils import logger
label_desc: Use image node_id 1 to create a new Arena object  with example: obj = Arena(player1, player2, game)