Virtual Guns bookkeeping #77

Closed
opened 2026-08-25 15:07:20 +02:00 by SirStone · 1 comment
Owner

Question

How does the Virtual Guns system track and compare gun performance? What metric, what detection method, when to switch, and how does cold start work?

Parent map: #74

## Question How does the Virtual Guns system track and compare gun performance? What metric, what detection method, when to switch, and how does cold start work? Parent map: https://git.fossellini.top/SirStone/SirRoboGarage/issues/74
SirStone added the wayfinder:grilling label 2026-08-25 15:07:20 +02:00
Author
Owner

Resolution

Rolling window hit rate, wave-based detection, always-fire-best.

  • Metric: Rolling window hit rate over last N=100 virtual shots. Forgets stale data, adapts to opponent strategy changes.
  • Detection: Wave-based — track expanding circle at bullet speed, check if enemy crosses at predicted angle. O(1) per tick per wave.
  • Switching: Always fire whichever virtual gun has the highest rolling hit rate. No threshold logic.
  • Active gun runs as a virtual gun too — it competes on equal footing with all others. Loaded champion starts in the active slot but earns its place through hit rate like everyone else.
  • Cold start: On true first encounter (no weights), gun is silent until GA produces first champion. On rematch, loaded weights fire from tick 1.

No separate real-bullet accuracy tracking. One unified system.

## Resolution **Rolling window hit rate, wave-based detection, always-fire-best.** - **Metric:** Rolling window hit rate over last N=100 virtual shots. Forgets stale data, adapts to opponent strategy changes. - **Detection:** Wave-based — track expanding circle at bullet speed, check if enemy crosses at predicted angle. O(1) per tick per wave. - **Switching:** Always fire whichever virtual gun has the highest rolling hit rate. No threshold logic. - **Active gun runs as a virtual gun too** — it competes on equal footing with all others. Loaded champion starts in the active slot but earns its place through hit rate like everyone else. - **Cold start:** On true first encounter (no weights), gun is silent until GA produces first champion. On rematch, loaded weights fire from tick 1. No separate real-bullet accuracy tracking. One unified system.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SirStone/SirRoboGarage#77