def play_game(game, *players):
state = game.initial<EOL>while True:<EOL><INDENT>for player in players:<EOL><INDENT>move = player(game, state)<EOL>state = game.result(state, move)<EOL>if game.terminal_test(state):<EOL><INDENT>return game.utility(state, game.to_move(game.initial))<EOL><DEDENT><DEDENT><DEDENT>
Play an n-person, move-alternating game.
    >>> play_game(Fig52Game(), alphabeta_player, alphabeta_player)
    3