A downloadable game for Windows, macOS, and Linux

Download NowName your own price

Some of the first programs I wrote on an Apple II back in the day were methods of computing pi that I found in a library book on the history of pi. Here's one of those methods, implemented as a Processing app: calculates pi by randomly generating points (think of it as throwing darts at a board) within a square bounding a circle. The ratio of points inside the circle to the total points (approximating the area of the circle divided by the area of the enclosing square) should converge to pi/4.

Source is on Github.


Download NowName your own price

Click download now to get access to the following files:

Pi Darts for macOS 132 MB
Version 5
Pi Darts for Windows 4 MB
Version 5
Pi Darts for Linux 4 MB
Version 6

Development log