eugenevinitsky / sequential_social_dilemma_games

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

A rotation of a square of matrices generates an infinite loop #118

Closed eugenevinitsky closed 5 years ago

eugenevinitsky commented 5 years ago

If we have the following arrangement of agents, [['P', 'P'], ['P', 'P']]and they are moving in a counterclockwise fashion, an infinite loop is generated. This is because we try to resolve moves by moving through unconflicted agents and letting them move into open cells, but in this case no cells open up.