eugenevinitsky / sequential_social_dilemma_games

Repo for reproduction of sequential social dilemmas
MIT License
384 stars 134 forks source link

bug(map_env): fix for resolution mechanism #116

Closed eugenevinitsky closed 5 years ago

eugenevinitsky commented 5 years ago

In the conflict resolution mechanism, we did not check if there was an agent in the conflicting cell that might not move out of the way. We also did not check if all the moves were into cells that contained an agent, which could cause an infinite loop.

Closes #118 Closes #116 Closes #115