milestone(SNNBot): 48% hit rate, grid accumulator with warm-start + frozen DECIDE snapshot — pausing for BNNBot exploration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 22:13:35 +02:00
parent 8289488e13
commit 85005c1c27
9 changed files with 754 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Mission
Build a spiking neural network (SNN) bot for Tank Royale that learns to aim at moving targets using binary operations and biologically-inspired learning rules — not analytical formulas. The system must generalize from predictable movers to evasive opponents.
## Why
- Classical aiming (analytical lead formulas) can't handle unpredictable movement
- SNNs offer energy-efficient, event-driven learning suited to real-time control
- Binary operations (Hamming distance, popcount) are fast and hardware-friendly
- The long-term goal is a bot that improves through experience, not programming
## Current State
Two implementations exist in `SNNBot_garage/src/`:
- **Grid accumulator** (`reservoir.nim`, USE_RESERVOIR=true): Lookup table mapping (vPerp, distance) → lead offset. Works (~48% hit rate) but can't scale to more inputs.
- **SNN** (`SNNBot.nim`, USE_RESERVOIR=false): LIF spiking network with SuperSpike-inspired learning. Dormant — not currently active.
The grid hit its ceiling. The SNN path is the intended future.