ukoethe / bomberman_rl

24 stars 66 forks source link

reset self when entering new round #3

Closed Philipp-g closed 3 years ago

Philipp-g commented 3 years ago

Currently, the rule based agent doesn't reset its bomb_history and coordinate_history between different rounds.

This bug only presents itself when playing against a bad agent which kills itself very fast. This can in some cases lead to results where the rule based agent is completely stuck because the preferred bomb tile had a bomb placed on it in the previous round which disqualifies the agent from placing another bomb in its place.

output

fdraxler commented 3 years ago

Thank you for tracking down and eliminating this edge case!