Create common_libs/guns/linear.nim. Predict enemy continues at current velocity and heading.
predict(): extrapolate enemy position forward by ticksToArrive = distance / bulletSpeed. Uses enemy heading + velocity. Returns absolute (x, y).
onResult() is a no-op. No learning.
## Question
Create `common_libs/guns/linear.nim`. Predict enemy continues at current velocity and heading.
predict(): extrapolate enemy position forward by ticksToArrive = distance / bulletSpeed. Uses enemy heading + velocity. Returns absolute (x, y).
onResult() is a no-op. No learning.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Question
Create
common_libs/guns/linear.nim. Predict enemy continues at current velocity and heading.predict(): extrapolate enemy position forward by ticksToArrive = distance / bulletSpeed. Uses enemy heading + velocity. Returns absolute (x, y).
onResult() is a no-op. No learning.
Blocked by #166 — Gun trait and WorldState must be defined first.
Superseded by vertical-slice tickets — see map #165.