Resolution
No lead-targeting code exists anywhere in the repo. Reusable pieces:
PPO_Bot_garage/src/PPO_Bot/enemy_tracker.nim— 5-slot position history, tracks x/y/speed/dir. Best reuse…
Resolution
Bullet speed: 20 - 3 * firepower (range 11–19.7 units/turn), constant velocity, no decay.
Travel time: D / bulletSpeed.
Lead angle: quadratic intercept — solve `(vx²+vy²−s²)t²…
Child tickets
- #160 - Research bullet mechanics (research)
- #161 - Decide test adversary (grilling)
- #162 - Decide velocity encoding (grilling, blocked by #160)
- #163 - Decide error signal…
Blocked by: #160 (Research bullet mechanics — need bullet speed for travel time computation)
Blocked by: #160 (Research bullet mechanics — need to know what velocity info matters)
Resolution
Destination reached. The SNN-aimed gun visibly tracks the enemy and error drops over time.
Route walked (10 decisions):
- Debug drawing API researched, aimTo() mechanics…
Resolution
SuperSpike implemented and learning confirmed. Gun visibly tracks enemy and error decreases over time.
Key fixes during implementation:
- Weight init ±0.01 within ±1.0 clamp…
Resolution
PC-SNN is viable but too costly as a backup. It requires:
- Full rewrite to time-to-first-spike (TTFS) coding — incompatible with current rate/population coding
- Per-layer error…
Resolution
SuperSpike (Zenke & Ganguli 2018) is the right fit. Key findings:
Learning rule: Δw_ij = r × ∫ e_i(s) · σ'(U_i(s)) · (ε * S_j)(s) ds
- Surrogate derivative: `σ'(U) = (1…