google-deepmind / hanabi-learning-environment

hanabi_learning_environment is a research platform for Hanabi experiments.
Apache License 2.0
645 stars 149 forks source link

[pyhanabi.py] HanabiState.copy() does not return correct fireworks #36

Closed moorugi98 closed 3 years ago

moorugi98 commented 4 years ago

Whenever playing a game with 5 different colors, the copied state using copy() from the class HanabiState() returns a list of length 3 when using fireworks(). However, when the state is printed, fireworks with 5 different colors are correctly printed.

mohitahuja1 commented 3 years ago

Hi, any ideas here? I am facing the same issue. Thanks.

NeilBurch commented 3 years ago

Should now be fixed in the latest version. There was an error in how the game was handled when states were cloned. Thanks for noting the problem, and apologies for the even-slower-than-usual response time.