parameters: (self, actions)
docstring: Applies the specified actions (per player) to the state.
docstring_summary: Applies the specified actions (per player) to the state.
docstring_tokens: Applies the specified actions ( per player ) to the state .
function: def _apply_actions(self, actions):
      """Applies the specified actions (per player) to the state."""
      assert not self._is_chance and not self._game_over
      self._is_chance = True
      self._rewards[0] = _PAYOFF[actions[0]][actions[1]]
      self._rewards[1] = _PAYOFF[actions[1]][actions[0]]
      self._returns += self._rewards
function_tokens: def _apply_actions ( self , actions ) : assert not self . _is_chance and not self . _game_over self . _is_chance = True self . _rewards [ 0 ] = _PAYOFF [ actions [ 0 ] ] [ actions [ 1 ] ] self . _rewards [ 1 ] = _PAYOFF [ actions [ 1 ] ] [ actions [ 0 ] ] self . _returns += self . _rewards