def performanceSystem(first_strategy, board=None, 
                      second_strategy=DEFAULT_STRATEGY):
  if not board:
		board = GameBoard()
  i = len(board.trace)
	while not board.gameEnded():
		player, strategy = GameBoard.X, second_strategy
		if i % 2:
			player, strategy = GameBoard.O, first_strategy
		x, y = board.chooseMove(strategy, player)
		board.addMove(player, x, y)
		i += 1