Happy Pi Day! This project is pretty straightforward. Just enter the number of darts you want to throw and wait. The darts are programmed to be thrown randomly within the square. Can you figure out why this actually approximates pi? Also, you can throw up to 9,999 darts, but it will take a bit of time to get all of those thrown.
I learned that you could approximate pi using this method in my modern computational math class at St. Olaf. Shout out to Professor Wright!