Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agents can spawn in walls #25

Open
georggrab opened this issue Mar 26, 2022 · 0 comments
Open

Agents can spawn in walls #25

georggrab opened this issue Mar 26, 2022 · 0 comments

Comments

@georggrab
Copy link

For some field sizes, agents can spawn in walls. The agent seems to have priority, so can move out of the wall, but once you move out of the wall, you can't move back in. This is giving the agent that happens to spawn in a corner a disadvantage, as it can basically only blow itself up.

Steps to reproduce:

  • in settings.py, set COLS=8, ROWS=8.
  • play with 4 agents
  • not always, but sometimes, the agent in the bottom right corner will spawn in a wall. this agent is significantly disadvantaged (lower winning fraction if for example letting 4 rule_based_agents play against each other)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant