Skip to content

Agents can spawn in walls #25

@georggrab

Description

@georggrab

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions