eugenevinitsky / sequential_social_dilemma_games

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

bug(map_env.py): agents walking into walls wasnt checked #130

Closed eugenevinitsky closed 5 years ago

eugenevinitsky commented 5 years ago

In map_envs resolution mechanism, conflicts were checked against the moves agents intended to take. Not all of these moves were possible, say, if an agent was moving into a wall. Also added a test for this case.