eugenevinitsky / sequential_social_dilemma_games

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

bug(harvest.py) reduce radius that apples look at to determine spawn … #145

Closed eugenevinitsky closed 5 years ago

eugenevinitsky commented 5 years ago

The apples used to look at the 5x5 square around an apple to determine how many apples were around it. The apparent correct pattern is to look at the 3x3 square, plus the four closest squares to the apple outside of it.