Extended Rock Paper Scissors Game#

game_redesign.eRPS(policy_1, policy_2)#

Compute the extended rock paper scissors game where (policy_1, policy_2) is the unique Nash equilibrium.

Parameters:
  • policy_1 ((M,) array) – Player 1’s policy. policy_1[i] is the probability player 1 uses action i.

  • policy_2 ((N,) array) – Player 2’s policy. policy_2[j] is the probability player 1 uses action j.

Returns:

The extended rock paper scissors game where (policy_1, policy_2) is the unique Nash equilibrium.

Return type:

(M, N) array