Silent Duelsвђ”constructing The Solution Part 2 Вђ“ Math В€© Programming -
For a symmetric duel (equal accuracy and one bullet each), the boundary condition is: ∫a1f(x)dx=1integral from a to 1 of f of x d x equals 1 2. Solving the Integral Equation
While the math is continuous, a game engine or simulation usually runs on discrete ticks. You must normalize the PDF so that the sum of probabilities across all frames equals 1. 5. Summary of the Construction To build the solution: Define : How likely are you to hit at time Calculate the Threshold : The point where "waiting" becomes statistically viable. Generate the PDF : Use the derived to distribute firing chances. For a symmetric duel (equal accuracy and one
: In the actual game loop, sample from this distribution to decide the exact frame of the "Silent" shot. : In the actual game loop, sample from
The goal is to make the opponent's payoff constant regardless of when they shoot. This leads to an integral equation where the payoff : In the actual game loop
When constructing the solution programmatically, two hurdles often arise: If your accuracy function starts at zero, the term explodes. We must enforce a lower bound to ensure the strategy is valid.
Should we look at the for solving the threshold when the accuracy function is complex?