duel_simulation_test, an Octave code which calls duel_simulation(), which simulates N instances of a duel between two players.
The information on this web page is distributed under the MIT license.
duel_simulation, an Octave code which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.