I think there is a bug in the program. Dropping 900,000 needles gave pi = 3.139 which seems pretty bad
One gimmick that people have mentioned is that if you don't choose ahead of time how many trials to do, you can stop the experiment when it looks like the value so far is near what you know pi should be. That allows some people to say "I did 47200 trials and got a pretty good value!", but it doesn't mean that they would have gotten such a good value without choosing when to stop.