Estimating probabilities by simulation
A chance process too awkward to work out can be imitated many times with random numbers, and the share of runs in which the event happens estimates its probability, better the more runs there are.
From AP Statistics.