MultiAgentLearning / playground

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

[draft] add missing 'import json' to v2 env #252

Closed dnandha closed 2 years ago

dnandha commented 2 years ago

The v2 environment uses the 'json' module in the get_json_info and set_json_info function, but the module is not imported. It leads to the error NameError: name 'json' is not defined.

This PR adds the missing import.

dnandha commented 2 years ago

Closing because just adding the import is not enought to make the get_json_info function work in the v2 env.