Skip to content

feat: add minimap goal shading from locked defenders (PR 6) - #65

Open
AlexBodner wants to merge 1 commit into
feat/soccer-pr5-combofrom
feat/soccer-pr6-goal-shading
Open

feat: add minimap goal shading from locked defenders (PR 6)#65
AlexBodner wants to merge 1 commit into
feat/soccer-pr5-combofrom
feat/soccer-pr6-goal-shading

Conversation

@AlexBodner

@AlexBodner AlexBodner commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • draw_goals_on_pitch — shade each goal mouth in the defending team’s colour.
  • Passes locks.locked_goal_defenders (from PR3) into radar/trace minimaps.
  • Shading-only PR (~66 lines of annotator + wiring).

Demo

DISTANCE with goal shading on the trace minimap:

All demos

Design

  • GK assignment + locked_goal_defenders live on PR3.
  • This PR only draws the shaded goals.

Scope

In: draw_goals_on_pitch, minimap kwargs, thin speed.py / distance.py pass-through

Out: ball / possession / pass analytics (next PRs)

Test plan

  • --mode SPEED / --mode DISTANCE — shaded goals on minimap
  • Team ellipse colours match PR3 behaviour

draw_goals_on_pitch on trace and radar minimaps via locks.locked_goal_defenders; no GK logic changes (lives on PR3).

Co-authored-by: Cursor <cursoragent@cursor.com>
@AlexBodner
AlexBodner force-pushed the feat/soccer-pr5-combo branch from 61d3ebe to e39cbd7 Compare July 21, 2026 17:04
@AlexBodner
AlexBodner force-pushed the feat/soccer-pr6-goal-shading branch from 90642f0 to 41e1b2d Compare July 21, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant