## melee_scan.nim — DEPRECATED / reference only. Superseded by ## `adaptive_melee_radar.nim`, which sweeps only the arc containing the enemies. ## Nothing in the rack imports this module any more; it is kept because it is the ## exact baseline the adaptive radar is measured against (always 45 deg/tick). ## ## Continuously spinning radar for melee. ## Always returns max radar turn rate so all enemies get scanned periodically. ## No state needed; stateless spin guarantees coverage regardless of enemy count. import ../radar_harness/radar_interface export radar_interface const MaxRadarTurnRate* = 45.0 ## deg/tick — Tank Royale hard limit type MeleeScanModule* = object debugGraphics*: bool proc initMeleeScan*(): MeleeScanModule = MeleeScanModule(debugGraphics: false) proc computeScan*(m: MeleeScanModule, state: WorldState): float = ## Always spin at max rate — guarantees full arena coverage every 8 ticks. MaxRadarTurnRate