
This project aims to port Cookie Clicker, a web game by Orteil, to the Nintendo Entertainment System.
ROM image and source code
(Milestone "MMO" updated Wednesday 2014-04-23)
Milca felt like baking chocolate chip cookies. But nobody wanted to eat her cookies, not even the raccoons in the back of the local T&T store. So she practiced for a while, and after she baked a hundred cookies, the recipe was solid enough that she convinced her family to try them. This gave her the confidence to enlist some of the older ladies in the village to help her bake cookies.
Milca's business grew so large that she needed to buy most of the farmland around the village to raise wheat for flour and dairy cows for butter. Some of this land didn't yield as much as expected, but no worries: she chose that as the location for her new factory. Other land ended up rich in minerals for making fertilizer, leading her to start a mining operation on the side.
And thus Milca's cookie empire grew.
Orteil made Cookie Clicker Classic in a few hours. But then he built it on top of the box layout engine, floating point library, image codecs, and the like inside the browser. I have to build those myself, so it'll probably take a little longer.
These steps will be broken up into smaller steps as work goes on:
Draw the logo on a striped background
Subroutine to draw a long (192 pixel) line of text
Cursor movement with controller
Cursor movement with mouse
Text display for print debugging
DFP printing: dump, standard, beautify
DFP from tiny integer
DFP load
DFP double, halve, and increment lowest place
DFP normalize (move sig figs to front)
DFP add and subtract
DFP multiply
Make separate test harness ROM image
Test in Python 6502 simulator: load, store, printing, double, halve, increment lowest place, add, normalize, subtract, multiply
Draw big cookie
Transition from title screen to big cookie
Add 1 when the cookie is clicked
Display cookiesSome intentional differences will be noticeable.
Cookie Clicker © 2013-2014 Orteil. Licensed to Damian Yerrick. NES program © 2014 Damian Yerrick.