Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Movement Orientations? #449

Copy link
Copy link
@antmarakis

Description

@antmarakis
Issue body actions

In grid.py there is a set of orientations, defined as follows:

orientations = [(1, 0), (0, 1), (-1, 0), (0, -1)]

I snooped around a bit, but I couldn't find what these mean. From my understanding they are showing where the current agent is looking in a 2D plane (Forward, Backward, Left, Right). I don't know though which is which. It would be nice to have this documented.

PS: I believe (0,1) is forward, (0,-1) back, (1,0) east and (-1,0) west, since that's how I've encountered it in literature. Not sure if this is the case here too though.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.