truel_simulation_test, a MATLAB code which calls truel_simulation(), which simulates N instances of a duel between three players.
The computer code and data files described and made available on this web page are distributed under the MIT license
truel_simulation, a MATLAB code which simulates N repetitions of a duel between three players, each of whom has a known firing accuracy.