Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

How to obtain the position of the pig and position of the other agent? #36

Description

@luarsu

Hi everyone,

I've been looking at the code of the Focused agent to see how it gets the position of the pig, but I couldn't really understand how it gets it. I know it uses a value called target, but I haven't seen where does it get the target value.

Also, I'd like to know how can I obtain the position of the two agents when I'm deciding the next action to take by one of them.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions