/ Published in: PHP
Here is an example where the likelihood of NS is 30%, SM is 50%, and SH is 20%. I make 20 pitches and output what the batter does each time.
URL: http://www.kirupa.com/forum/showthread.php?t=344243
URL: http://www.kirupa.com/forum/showthread.php?t=344243