MultiAgentLearning / playground

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

Collecting Information #161

Closed GRomera closed 5 years ago

GRomera commented 6 years ago

Would it be possible to add/record on a single JSON file the following things?:

-Bombs Laid -Blocks Destroyed -Power ups collected ( By a human player) -Steps Taken -Agents (non-human) killed

PixelyIon commented 6 years ago

You should be able to collect this data using the env's observation. Once your done with that use python's inbuild json module (https://docs.python.org/3/library/json.html) to encode all the data into JSON.

PixelyIon commented 6 years ago

For collection of data these are some of the privates that the env has they might help you: https://github.com/MultiAgentLearning/playground/blob/master/pommerman/envs/v0.py#L40.

PixelyIon commented 5 years ago

@GRomera @cinjon Stale issue. Recommended to close it.