I do physics and math.
CV
Hit the flag. Ground is flat, there is no air, g = 9.81 m/s².
angle ° speed m/s Fire New flag
Range on flat ground: R = v² sin 2θ / g
(The game needs JavaScript.)