MultiAgentLearning / playground

PlayGround: AI Research into Multi-Agent Learning.
https://www.pommerman.com
Apache License 2.0
765 stars 217 forks source link

Bugfix: Board is always copied when returned as an observation #234

Closed PBarde closed 4 years ago

PBarde commented 4 years ago

Previously this was only done if the state was partially observable. Therefore the fully-observed version led to in-place modifications of the observations when the state of the environment changed (board in state and board in next_state are would be the same)

cinjon commented 4 years ago

Seems reasonable. Thanks!