EvolGenius is a two-locus population genetics simulation written for use in undergraduate courses. Often, we use simulations without really thinking about how they recreate a process. But ...
The Monte Carlo simulation estimates the probability of different outcomes in a process that cannot easily be predicted because of the potential for random variables.