Multiplayer Interface

CommonRLInterface provides a basic interface for multiplayer games.

Sequential games

Sequential games should implement the optional function players to return a range of player ids, and player to indicate which player's turn it is. There is no requirement that players play in the order returned by the players function. Only the action for the current player should be supplied to act!, but rewards for all players should be returned. observe returns the observation for only the current player.

Simultaneous Games/Multi-agent (PO)MDPs

Environments in which all players take actions at once should implement the all_act! and all_observe optional functions which take a collection of actions for all players and return observations for each player, respectively.

Indicating reward properties

The UtilityStyle trait can be used to indicate that the rewards will meet properties, for example that rewards for all players are identical or that the game is zero-sum.

Missing docstring.

Missing docstring for players. Check Documenter's build log for details.

Missing docstring.

Missing docstring for player. Check Documenter's build log for details.

Missing docstring.

Missing docstring for all_act!. Check Documenter's build log for details.

Missing docstring.

Missing docstring for all_observe. Check Documenter's build log for details.

Missing docstring.

Missing docstring for UtilityStyle. Check Documenter's build log for details.

Missing docstring.

Missing docstring for ZeroSum. Check Documenter's build log for details.

Missing docstring.

Missing docstring for ConstantSum. Check Documenter's build log for details.

Missing docstring.

Missing docstring for GeneralSum. Check Documenter's build log for details.

Missing docstring.

Missing docstring for IdenticalUtility. Check Documenter's build log for details.