An NES implementation of the "Pi Spigot" algorithm by Stanley Rabinowitz and Stan Wagon. I cover various aspects of the implementation in the NES Pi video on YouTube.
The project requires ca65
and make
and can be built by running make
from the project root.
In order to fit 960 digits, the game uses nametable realestate that's usually clipped when running on an NTSC screen. This means if you run it on actual hardware or in some emulators, the digits on the top and bottom may be cut off.
MIT