eugenevinitsky / sequential_social_dilemma_games

Repo for reproduction of sequential social dilemmas
MIT License
387 stars 132 forks source link

Unit test for waste spawning under an agent #82

Closed eugenevinitsky closed 5 years ago

eugenevinitsky commented 5 years ago

If waste spawns under an agent it either should be:

An agent standing on a waste cell

eugenevinitsky commented 5 years ago

@natashamjaques could you ask Ed about how this works?

eugenevinitsky commented 5 years ago

This affects line 146 of map_env: self.post_clean_map = self.map.copy() which, depending on the above answers, might have to go after the agent moves.