Skip to content

Should R.zone == marker.zone #35

Description

@shardros

Currently we make the teams do maths to work out weather markers are ones which they care about.

Filtering the list of returned markers seems to be something which is a challenge for GCSE teams. This is kind of us just having a dumb interface. If the game for a given year has the concept of "their markers" I believe that being able to write code like this would be a good idea:

if marker.zone == R.zone:
     drive_to_marker(marker)

This would also let us clear up this hack in _draw_bounding_box to make the teams own markers thicker:

marker_zone = int((marker_code-100)-5/10)

Not sure if this is doing the teams job for them

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions