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 shift out of map #60

Closed
tommy33790 opened this issue Mar 9, 2024 · 0 comments · Fixed by #61
Closed

Agents can shift out of map #60

tommy33790 opened this issue Mar 9, 2024 · 0 comments · Fixed by #61

Comments

@tommy33790
Copy link
Contributor

When agents are shifting and ignore wall collision, they can leave the map.

"Just Go" all inCase { true } then { go() }
"Pickup" all inCase { agent.isTouchingResource(ResourceType.Tonic) } then { pickupResource()}
"Wall Collision" all inCase { agent.isCollisionDetected } then { turnRandom() }
"Shift" all inCase { !agent.isShifting && agent.hasTonic } then { shift() }
"Break out" all inCase { agent.isShifting } then { go() }

Agent is leaving SimpleWorld
grafik

@tommy33790 tommy33790 linked a pull request Mar 9, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant