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

Should R.zone == marker.zone #35

Open
shardros opened this issue May 2, 2022 · 0 comments
Open

Should R.zone == marker.zone #35

shardros opened this issue May 2, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@shardros
Copy link
Member

shardros commented May 2, 2022

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

@shardros shardros added good first issue Good for newcomers enhancement New feature or request labels May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant