open_spiel
open_spiel copied to clipboard
Negotiation Game deterministic state
Hi! As for the Negotiation game, I was expecting for the randomness of the initial game state, however, after conducting the code
game = pyspiel.load_game("negotiation")
state = game.new_initial_state()
if state.is_chance_node():
# Sample a chance event outcome.
outcomes_with_probs = state.chance_outcomes()
action_list, prob_list = zip(*outcomes_with_probs)
action = np.random.choice(action_list, p=prob_list)
state.apply_action(action)
print(state)
It always return the same state. Why this happen?