diff --git a/SNNBot_garage/src/reservoir.nim b/SNNBot_garage/src/reservoir.nim index 34377d0..bf6ae4e 100644 --- a/SNNBot_garage/src/reservoir.nim +++ b/SNNBot_garage/src/reservoir.nim @@ -16,8 +16,18 @@ type LeadGrid* = object cells: array[VPERP_BINS * DIST_BINS, GridCell] # 17 × 8 = 136 cells +const BULLET_SPEED = 14.0 # power 2 bullet speed in pixels/tick + proc initLeadGrid*(): LeadGrid = - result = LeadGrid() + for vBin in 0..