dueling_idiots_test, a MATLAB code which calls dueling_idiots(), which illustrates Paul Nahin's "Dueling Idiots".
The information on this web page is distributed under the MIT license.
dueling_idiots, a MATLAB code which contains the scripts used to carry out the probability simulations described in Paul Nahin's "Dueling Idiots";