duel_simulation_test, a MATLAB program which calls duel_simulation() to simulate N instances of a duel between two players.
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
duel_simulation, a MATLAB program which simulates N repetitions of a duel between two players, each of whom has a known firing accuracy.