Virtual Guns system #86
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
#80
What to build
System where every registered gun fires a virtual bullet every tick. Track each gun's hit rate via wave-based detection and a rolling window of the last N=100 virtual shots.
Wave-based detection: track expanding circle at bullet speed, check if enemy crosses at predicted angle. O(1) per tick per wave.
The active gun (including TOPO_Gun with loaded weights) runs as a virtual gun too — it competes on equal footing. Active gun = whichever virtual gun has the highest rolling hit rate. No threshold logic, no manual switching.
Currently only TOPO_Gun exists, but the system is ready for additional guns to be registered.
Acceptance criteria
when isMainModulewithdoAssertvalidates wave hit detection with known geometryBlocked by