MultiAgentLearning / playground

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

Multiple flames at the same position as an item may interfere with bomb movement #133

Closed suphoff closed 6 years ago

suphoff commented 6 years ago

When a flame dies it may reveal an item at the beginning of the step function. If another flame at the same position is still alive it will replace the item on the board with a flame towards the end of the step function. Between revealing the item on the board and replacing it with a flame the item will be visible to the bomb movement logic and will prevent the bomb from moving into the flame.

A similar issue when no item is revealed causes bombs to be able to move into a flame without exploding.

Will submit a patch in the next days.

weseldridge commented 6 years ago

That dude! The example you provided me in DM really helped clean up what was going on.