The entirety of writing the game probably didn't take over three day's worth of time. A lot of that was spent optimizing code so that it would fit in a tiny space. That is, renaming variables to single characters, etc. It's amazing the ways in which you can whittle code down to such basic elements, or use tricks to save yourself some space. For instance, C's "evaluation ? a : b" construct saved me a bunch in coding space time and time again. My biggest accomplishment, though, was taking two fairly similar but different enough functions and munging them into a single function that took some arguments to dictate how those differences could be compensated for.
posted in 80x24
